#!/bin/sh # Set initial variables: CWD=`pwd` TMP=/tmp PKG=$TMP/package-jove VERSION=4.16.0.65 ARCH=alpha BUILD=1 mkdir -p $PKG ( cd $TMP tar xzf $CWD/jove$VERSION.tgz cd jove$VERSION chown -R root.root . zcat $CWD/jove.makefile.diff.gz | patch -p1 --verbose make strip recover jjove teachjove mkdir -p $PKG/usr/lib/jove install -c -m 755 recover $PKG/usr/lib/jove/recover mkdir -p $PKG/usr/bin install -c -m 755 jjove $PKG/usr/bin/jove install -c -m 755 teachjove $PKG/usr/bin/teachjove ( cd $PKG/usr/bin ln -sf /usr/lib/jove/recover jove-recover ) chown -R root.bin $PKG/usr/bin install -c -m 644 doc/teach-jove $PKG/usr/lib/jove/teach-jove install -c -m 644 doc/cmds.doc $PKG/usr/lib/jove/cmds.doc install -c -m 644 doc/jove.rc.sun doc/keychart.sun doc/jove.rc.sun-cmd doc/keychart.sun-cmd doc/jove.rc.vt100 doc/keychart.vt100 doc/jove.rc.wyse doc/keychart.wyse doc/jove.rc.xterm doc/keychart.xterm doc/jove.rc.z29 doc/keychart.z29 doc/jove.rc.3022 doc/keychart.3022 doc/keychart. doc/XTermresource $PKG/usr/lib/jove install -c -m 644 doc/jove.rc $PKG/usr/lib/jove/jove.rc mkdir -p $PKG/usr/man/man1 install -c -m 644 doc/jove.1 $PKG/usr/man/man1/jove.1 install -c -m 644 doc/teachjove.1 $PKG/usr/man/man1/teachjove.1 gzip -9 $PKG/usr/man/man1/* mkdir -p $PKG/usr/doc/jove$VERSION cp -a README $PKG/usr/doc/jove$VERSION chmod 644 $PKG/usr/doc/jove$VERSION/* # This is only used on systems without pttys. # cat portsrv > $PKG/usr/lib/jove/portsrv # chmod 755 $PKG/usr/lib/jove/portsrv mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/jove-$VERSION-$ARCH-$BUILD.tgz ) 2>&1 | tee $TMP/jove.build.log