77bacd0472745d28027aef23742e50e88c275c0b
[samba.git] / packaging / Digital / package-prep
1 tar xvf skeleton.tar
2 ( cd /usr/local;
3         mv man man.orig;
4         mv samba samba.orig;
5         DIRNOW=`pwd1`;
6                 ln -sf $NOWDIR/usr/local/man man;
7                 ln -sf $NOWDIR/usr/local/samba samba; )
8 gunzip samba-2.0.0.tar.gz
9 tar xvf samba-2.0.0.tar
10 cd samba-2.0.0/source
11 ./configure
12 make
13 make install
14 cd $NOWDIR/usr/local/samba
15 cp -pr man ../
16 rm -rf man
17 cd $NOWDIR
18 tar cvf install.tar usr var
19 cd samba-2.0.0/source/bin
20 rm -f *
21 cd ..
22 make clean
23 cd ../..
24 tar cvf samba-2.0.0.tar samba-2.0.0
25 rm -rf samba-2.0.0
26 rm -rf usr var
27 cd ..
28 find samba-2.0.0 -print | cpio -o > samba-2.0.0-OSF1-v4.0-alpha.cpio
29 gzip samba-2.0.0-OSF1-v4.0-alpha.cpio
30 cd samba-2.0.0
31 tar xcf install.tar