diff options
Diffstat (limited to 'development/pli/pli.SlackBuild')
-rw-r--r-- | development/pli/pli.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/development/pli/pli.SlackBuild b/development/pli/pli.SlackBuild index 14168abdd2..d6e86b79ff 100644 --- a/development/pli/pli.SlackBuild +++ b/development/pli/pli.SlackBuild @@ -6,12 +6,15 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230103 bkw: update for v0.9.10e, fix PKGTYPE mess. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pli -VERSION=${VERSION:-0.9.10d} +VERSION=${VERSION:-0.9.10e} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} # static binary and library are for this arch. ARCH=i586 @@ -47,19 +50,15 @@ find . -type f -a -exec chmod 644 {} \+ -o -exec chmod 755 {} \+ # but they don't include the includes, or the ISAM stuff (libpbl), # or the alt/ dir. -# thought about stripping the plic binary, but I'm not sure it's wise. -# plus, it's 2.6MB, and stripping it only removes 18KB (or, it only -# gets 0.07% smaller), so no point anyway. - PKGLIB=$PKG/usr/lib PRIVLIB=$PKGLIB/$PRGNAM-$VERSION PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION PKGMAN=$PKG/usr/man/man1 mkdir -p $PKG/usr/bin $PRIVLIB $PKGDOC $PKGMAN -install -oroot -groot -m0755 plic $PRIVLIB/plic -install -oroot -groot -m0644 lib/libprf.a $PRIVLIB/libprf.a -install -oroot -groot -m0644 lib/libpbl.a $PRIVLIB/libpbl.a +install -s -oroot -groot -m0755 plic $PRIVLIB/plic +install -oroot -groot -m0644 lib/libprf.a $PRIVLIB/libprf.a +install -oroot -groot -m0644 lib/libpbl.a $PRIVLIB/libpbl.a cp -a lib/{alt,include,source} $PRIVLIB ln -s $PRGNAM-$VERSION $PKG/usr/lib/$PRGNAM @@ -84,4 +83,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |