3 # Now create the actual pkgadd installable datastream
5 # invoke with -n as the first argument to get this script to tell
6 # you what it would do without doing anything
10 [ "$1" = "-n" ] && V=echo
15 [ "$V" = "echo" ] && PKGBLD=$PKGBLD/dist
21 ##############################################################################
23 # make filesystem-type package in directory ./$PKGNAME/
24 # (source files reside in ./root)
26 # don't use PKGBLOCKLIM for now
28 $V pkgmk -o $PKGCOMPRESS -d $PKGBLD -r $PKGBLD
29 #pkgmk -o $PKGCOMPRESS -l $PKGBLOCKLIM -d $PKGBLD -r $PKGBLD
30 #pkgmk -o $PKGCOMPRESS -l $PKGBLOCKLIM -d $PKGBLD -r $PKGBLD/root
33 # make $PKGNAME.pkg datastream-type package
35 $V pkgtrans -s $PKGBLD $PKGBLD/$PKGNAME.pkg $PKGNAME
38 # remove filesystem-type package
40 #rm -rf $PKGBLD/$PKGNAME