Browse Source

libraries/libtorrent: Remove .la files.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/171/head
B. Watson 4 years ago
committed by Willy Sudiarto Raharjo
parent
commit
4d100fa77d
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 4
      libraries/libtorrent/libtorrent.SlackBuild

4
libraries/libtorrent/libtorrent.SlackBuild

@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libtorrent
VERSION=${VERSION:-0.13.7}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -86,6 +86,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

Loading…
Cancel
Save