summaryrefslogtreecommitdiff
path: root/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2019-09-26 10:39:34 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 17:40:06 +0700
commitc7923bcbb61c6f773b87acc824a53f544028ad40 (patch)
tree87e927499ff75e6b0cbbcfcdfda1703ec03a00fd /libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
parenteed68ee8294b56a7f9870bd522929e012d9deb78 (diff)
downloadslackbuilds-c7923bcbb61c6f773b87acc824a53f544028ad40.tar.gz
libraries/libtorrent-rasterbar: GeoIP dependency removed. Move ed25519/ to examples/
Diffstat (limited to 'libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild')
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
index 8507a88fc0..738af258b4 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libtorrent-rasterbar
VERSION=${VERSION:-1.1.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -89,7 +89,6 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--enable-encryption \
$examples \
--with-boost-libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-libgeoip \
--disable-debug \
--build=$ARCH-slackware-linux
@@ -97,15 +96,18 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS docs/ \
- ed25519/ tools/ \
+cp -a AUTHORS COPYING ChangeLog NEWS docs/ tools/ \
$PKG/usr/doc/$PRGNAM-$VERSION
if [ "$EXAMPLES" = "yes" ]; then
- rm -rf examples/.{deps,libs}
cp -a examples/ $PKG/usr/doc/$PRGNAM-$VERSION
+ cp -a ed25519/ $PKG/usr/doc/$PRGNAM-$VERSION
fi
+find $PKG \
+ \( -name .deps -o -name .libs -o -name .dirstamp \
+ \) -exec rm -rf {} \; || true
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install