#!/bin/sh # # makedist - make a solaris sparc 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-sparc/fltk.pkginfo" >fltk.prototype cat packages/solaris-sparc/fltk.prototype >>fltk.prototype pkgmk -d packages/solaris-sparc -b $cwd -f fltk.prototype fltk rm fltk.prototype cd packages/solaris-sparc echo "Packing distribution..." pkgtrans -s . fltk-1.0.1-solaris-sparc.pkg fltk rm -rf fltk echo "Compressing distribution..." rm -f fltk-1.0.1-solaris-sparc.pkg.gz gzip -9 fltk-1.0.1-solaris-sparc.pkg