initial checkin
[zsh-lovers.git] / zsh_people / strcat / zshdevel
1 # *Heavy* under construction! Use it with cautions!
2 #
3 # 030515 get latest source of slrn via CVS
4 # http://sourceforge.net/cvs/?group_id=7768
5 function mkslrn()
6 {
7         cd /backups/Source/slrn && \
8         cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ login ; \
9         cvs -z3 update ; \
10         cd /backups/Source/slrn/ && autopoint -f && aclocal-1.8 && autoconf && \
11         autoheader && automake-1.8 --foreign --add-missing && autoconf && \
12         patch -p1 < ../patches/slrn-0.9.8.0-useragent-patch ; \
13         ./configure --enable-setgid-code --enable-spool --enable-inews \
14         --enable-force-inews --with-slrnpull --with-ssl=/usr/bin/openssl \
15         --enable-largefile --enable-mime --prefix=/home/dope/dev-bin && \
16         =make && mmake && =make install clean
17 }
18
19 # 030613 get latest source of mutt via CVS
20 # notice: CVS-password for mutt-server = "anonymous"
21 # http://www.cs.hmc.edu/~me/mutt/
22 function mkmutt()
23 {
24         cd /backups/Source/mutt && \
25         cvs -d :pserver:anonymous@cvs.mutt.org:/home/roessler/cvs login ; \
26         cvs -z3 update ;\
27         ./prepare && 
28         patch -p1 < ../patches/patch-1.5.6.rr.compressed ; \
29         patch -p1 < ../patches/patch-1.5.6.vvv.initials ;\
30         patch -p1 < ../patches/patch-1.5.6.vvv.nntp ;\
31         patch -p1 < ../patches/patch-1.5.6.vvv.quote ;\
32         patch -p1 < ../patches/patch-1.5.6.vvv.slang ;\
33         ./configure --enable-compressed --enable-buffy-size --enable-iconv \
34         --enable-imap --enable-nntp --enable-pgp --enable-pop --enable-smime \
35         --with-ssl=/usr/sbin/openssl --with-regex --enable-nls --with-exec-shell=/bin/sh \
36         --with-nss --prefix=/home/dope/dev-bin && \
37         =make && mmake && =make install clean
38 }
39
40 # 030614 get latest source of vim via CVS
41 # http://vim.sourceforge.net/cvsdocs/
42 function mkvim()
43 {
44         cd /backups/Source/vim && \
45         cvs -z3 -d:pserver:anonymous@cvs.sf.net:/cvsroot/vim checkout vim ;\
46         ./configure --without-x --with-compiledby='Christan Schneider <strcat@gmx.net>' \
47         --with-features=huge --prefix=/home/dope/dev-bin && =make && mmake && =make install clean
48 }
49
50 # 030830 get latest source of dietlibc
51 alias getdietlibc="cd /backups/Source/dietlibc/ && (rmdir dietlibc-cvs-`date +%y%m%d` | mkdir dietlibc-cvs-`date +%y%m%d`) && \
52                    cd dietlibc-cvs-`date +%y%m%d` && \
53                    cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co dietlibc"
54
55 alias zsh-confmake="./configure --enable-pcre --enable-cap --enable-maildir-support \
56                     --enable-max-jobtable-size=256 --enable-function-subdirs \
57                     --with-curses-terminfo --enable-dynamic --enable-locale && \
58                     make && mmake ; sudo make install clean"
59
60 # OpenBSD Specific Functions
61 if [ "${OS}" = openbsd ]; then
62         function mkernel()
63         {
64                 config $1;
65                 cd ../compile/$1;
66                 make dep && make;
67         }
68
69         function src-compile()
70         {
71                 cd /usr/src
72                 rm -rf /usr/obj
73                 make obj &&
74                 make build &&
75                 mergemaster
76         }
77 fi