3 # Extract the skeleton directory structure into which samba will be installed.
6 # Now link the skeleton directory structure into the final install tree.
11 ln -sf $NOWDIR/usr
/local
/man man
;
12 ln -sf $NOWDIR/usr
/local
/samba samba
; )
14 # Unpack the master source tarball
15 gunzip samba-X.X.X.
tar.gz
16 tar xvf samba-X.X.X.
tar
18 # Now build the binary files
24 # Install into the packaging tree that full reflects the final install tree
25 cd $NOWDIR/usr
/local
/samba
30 # Create the package tarball
31 tar cvf
install.
tar usr var
33 # Clean up original sources preserving all configured files
34 # Note: This will allow installers to check build options
39 tar cvf samba-X.X.X.
tar samba-X.X.X
43 tar cvf samba-X.X.X-OS-Version-CPU.
tar samba-X.X.X
44 gzip samba-X.X.X-OS-Version-CPU.
tar
46 # We now have the distribution package, now restore our runtime system
50 # Please test operation before shipping the binary distribution package