Files
fltk/packages/solaris-intel/makedist.sh
T
Michael R Sweet e46a0be2b5 Updated packages files for 1.0.2.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-23 20:27:27 +00:00

32 lines
694 B
Bash
Executable File

#!/bin/sh
#
# makedist - make a solaris intel distribution.
#
rm -rf fltk
echo "Making distribution..."
cd ../..
#
# Create a dummy prototype file with the full path for the pkginfo file;
# this is a bug in Solaris' pkgmk program...
#
cwd=`pwd`
echo "i pkginfo=$cwd/packages/solaris-intel/fltk.pkginfo" >fltk.prototype
cat packages/solaris-intel/fltk.prototype >>fltk.prototype
pkgmk -d packages/solaris-intel -b $cwd -f fltk.prototype fltk
rm fltk.prototype
cd packages/solaris-intel
echo "Packing distribution..."
pkgtrans -s . fltk-1.0.2-solaris-intel.pkg fltk
rm -rf fltk
echo "Compressing distribution..."
rm -f fltk-1.0.2-solaris-intel.pkg.gz
gzip -9 fltk-1.0.2-solaris-intel.pkg