diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-08 02:51:14 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-09 15:45:09 +0700 |
commit | d4fffebf9139c9ec8cc46078902b7964b7c83acf (patch) | |
tree | bac925360b7a45aee246f39ec8630bbc0b0c33e1 /libraries/afflib | |
parent | fcfebf9893aee220d1d85dfe1143f502e6ee2872 (diff) |
libraries/afflib: Strip library.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/afflib')
-rw-r--r-- | libraries/afflib/afflib.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/afflib/afflib.SlackBuild b/libraries/afflib/afflib.SlackBuild index a2010eacc2964..6484665960f20 100644 --- a/libraries/afflib/afflib.SlackBuild +++ b/libraries/afflib/afflib.SlackBuild @@ -24,12 +24,15 @@ # Updated: v3.7.19 April of 2021 by Barry J. Grundy <bgrundy(at)linuxleo.com> +# 20220408 bkw: Modified by SlackBuilds.org, BUILD=3: +# - strip pyaff.so. + SRCNAM=AFFLIBv3 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=afflib VERSION=${VERSION:-3.7.19} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +44,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 @@ -78,9 +78,9 @@ cd $SRCNAM-$VERSION 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 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ ./bootstrap.sh CFLAGS="$SLKCFLAGS" \ @@ -99,9 +99,10 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* -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 +# 20220408 bkw: install-strip missed this one: +strip $PKG/usr/lib*/python*/site-packages/*.so mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog COPYING README doc/ $PKG/usr/doc/$PRGNAM-$VERSION |