aboutsummaryrefslogtreecommitdiff
path: root/libraries/argtable
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/argtable')
-rw-r--r--libraries/argtable/README2
-rw-r--r--libraries/argtable/argtable.SlackBuild17
-rw-r--r--libraries/argtable/argtable.info2
3 files changed, 10 insertions, 11 deletions
diff --git a/libraries/argtable/README b/libraries/argtable/README
index 52e4457e352a..59b8068daf05 100644
--- a/libraries/argtable/README
+++ b/libraries/argtable/README
@@ -1,3 +1,5 @@
+argtable (ANSI C library for parsing command line arguments)
+
Argtable is an ANSI C library for parsing GNU style command line
arguments with a minimum of fuss. It enables the programmer to
define their program's argument syntax directly in the source code
diff --git a/libraries/argtable/argtable.SlackBuild b/libraries/argtable/argtable.SlackBuild
index c4af46b0e1c4..cf4b4924db52 100644
--- a/libraries/argtable/argtable.SlackBuild
+++ b/libraries/argtable/argtable.SlackBuild
@@ -22,7 +22,8 @@
# Modified by the SlackBuilds.org Project
-# modified again 20140210 bkw:
+# 20211121 bkw: BUILD=2, get rid of .la files for -current.
+# 20140210 bkw:
# - took over maintenance
# - update for v2.13
# - derive SRCVER from VERSION
@@ -42,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=argtable
VERSION=${VERSION:-2.13}
SRCVER=${VERSION/./-}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,9 +55,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
@@ -89,11 +87,8 @@ rm -rf $PRGNAM$SRCVER
tar xvf $CWD/$PRGNAM$SRCVER.tar.gz
cd $PRGNAM$SRCVER
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# man and html pages misuse autoconf macros
patch -p1 < $CWD/doc_paths.diff
@@ -115,6 +110,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
# upstream installs 2 copies of the man page, use symlink instead
MAN3=$PKG/usr/man/man3
rm -f $MAN3/$PRGNAM.3
diff --git a/libraries/argtable/argtable.info b/libraries/argtable/argtable.info
index d3946cc06374..4f83be918438 100644
--- a/libraries/argtable/argtable.info
+++ b/libraries/argtable/argtable.info
@@ -1,7 +1,7 @@
PRGNAM="argtable"
VERSION="2.13"
HOMEPAGE="http://argtable.sourceforge.net/"
-DOWNLOAD="http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
+DOWNLOAD="https://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
MD5SUM="156773989d0d6406cea36526d3926668"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""