aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-31 19:14:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-01 08:13:02 +0700
commit2b9b22cb60d881f2c211821fba24ee86db74a095 (patch)
treedb20a0b73cadab0790be7a7456d1b08d67012bd5 /libraries
parent1ce23f0476d5f639c6809b8d8b73cfd265f2443b (diff)
libraries/liblqr: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/liblqr/liblqr.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/libraries/liblqr/liblqr.SlackBuild b/libraries/liblqr/liblqr.SlackBuild
index 639c8be5376b2..e47468b047d46 100644
--- a/libraries/liblqr/liblqr.SlackBuild
+++ b/libraries/liblqr/liblqr.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for liblqr
#
# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=liblqr
SRCNAM=liblqr-1
VERSION=${VERSION:-0.4.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -86,16 +83,12 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man/ \
--disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION