diff options
author | B. Watson <yalhcru@gmail.com> | 2021-11-21 13:42:49 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-04 10:08:56 +0700 |
commit | d027d911d7a6a4a275e4c9e20d6458f89b8b92ee (patch) | |
tree | 5590af29c30019941efc0cfca00b5ce630a2953d /libraries/argtable/argtable.SlackBuild | |
parent | d1db0bacf0c6a0e79cedbbd7690a7af17f91f977 (diff) |
libraries/argtable: Get rid of .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/argtable/argtable.SlackBuild')
-rw-r--r-- | libraries/argtable/argtable.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/libraries/argtable/argtable.SlackBuild b/libraries/argtable/argtable.SlackBuild index c4af46b0e1c4b..cf4b4924db525 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 |