development/pli: Updated for version 0.9.10e.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-03 01:32:47 -05:00 committed by Willy Sudiarto Raharjo
parent 39c0cdd602
commit e600101158
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 11 additions and 12 deletions

View file

@ -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

View file

@ -1,9 +1,9 @@
PRGNAM="pli"
VERSION="0.9.10d"
VERSION="0.9.10e"
HOMEPAGE="http://www.iron-spring.com/"
DOWNLOAD="http://www.iron-spring.com/pli-0.9.10d.tgz \
DOWNLOAD="http://www.iron-spring.com/pli-0.9.10e.tgz \
https://slackware.uk/~urchlay/src/plicl-0.0.1"
MD5SUM="8671caaaff737eb8a8f5ba7095ac96f4 \
MD5SUM="3fe88c87e004036ea0406baa10a248a0 \
43cef380d335b102f52524874d59d324"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""