diff options
Diffstat (limited to 'slackware64-current/source/l/aalib/aalib.SlackBuild')
-rwxr-xr-x | slackware64-current/source/l/aalib/aalib.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/slackware64-current/source/l/aalib/aalib.SlackBuild b/slackware64-current/source/l/aalib/aalib.SlackBuild index 73a28ca8b..b7a4e1d2f 100755 --- a/slackware64-current/source/l/aalib/aalib.SlackBuild +++ b/slackware64-current/source/l/aalib/aalib.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=aalib VERSION=1.4rc5 SRCVER=1.4.0 -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -94,12 +94,15 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --program-prefix= \ --program-suffix= \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux || exit 1 # Build and install: make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + # Strip binaries: find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |