1999-03-10 16:39:13 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
1999-03-10 17:20:55 +03:00
|
|
|
# makedist - make an hp-ux distribution.
|
1999-03-10 16:39:13 +03:00
|
|
|
#
|
|
|
|
|
1999-03-10 17:20:55 +03:00
|
|
|
#
|
|
|
|
# Since the HP-UX software distribution stuff doesn't directly support
|
|
|
|
# symbolic links, we have the option of making an installation script that
|
|
|
|
# creates symbolic links, or include files that are symbolic links in the
|
|
|
|
# distribution. Since we want this distribution to be relocatable, the
|
|
|
|
# script method probably won't work and we have to make dummy link files...
|
|
|
|
#
|
|
|
|
|
1999-03-10 20:45:48 +03:00
|
|
|
echo "Making links needed for distribution..."
|
|
|
|
|
|
|
|
rm -rf links
|
|
|
|
mkdir links
|
1999-03-10 16:39:13 +03:00
|
|
|
|
1999-03-10 17:20:55 +03:00
|
|
|
for file in `cd ../../FL; ls *.H`; do
|
1999-03-10 20:45:48 +03:00
|
|
|
ln -sf $file links/`basename $file .H`.h
|
1999-03-10 17:20:55 +03:00
|
|
|
done
|
|
|
|
|
|
|
|
ln -sf FL links/Fl
|
1999-03-25 18:26:44 +03:00
|
|
|
ln -sf libfltk.sl.1 links/libfltk.sl
|
1999-03-10 17:20:55 +03:00
|
|
|
|
|
|
|
cd ../..
|
1999-03-10 16:39:13 +03:00
|
|
|
|
1999-03-10 17:20:55 +03:00
|
|
|
/usr/sbin/swpackage -v -s packages/hpux/fltk.info \
|
1999-09-15 21:05:50 +04:00
|
|
|
-d packages/hpux/fltk-1.0.5-hpux.depot -x write_remote_files=true \
|
1999-03-10 17:20:55 +03:00
|
|
|
-x target_type=tape fltk
|
1999-03-10 20:45:48 +03:00
|
|
|
|
|
|
|
echo "Compressing distribution..."
|
|
|
|
|
|
|
|
cd packages/hpux
|
|
|
|
|
1999-03-10 22:19:53 +03:00
|
|
|
rm -rf links
|
1999-09-15 21:05:50 +04:00
|
|
|
rm -f fltk-1.0.5-hpux.depot.gz
|
|
|
|
gzip -9 fltk-1.0.5-hpux.depot
|
1999-03-10 20:45:48 +03:00
|
|
|
|