summaryrefslogtreecommitdiff
path: root/libraries/libtorrent-rasterbar
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
parenteed68ee8294b56a7f9870bd522929e012d9deb78 (diff)
downloadslackbuilds-c7923bcbb61c6f773b87acc824a53f544028ad40.tar.gz
libraries/libtorrent-rasterbar: GeoIP dependency removed. Move ed25519/ to examples/
Diffstat (limited to 'libraries/libtorrent-rasterbar')
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild12
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.info4
2 files changed, 9 insertions, 7 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
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
index 758cb0eef9..dfdb8da72b 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/arvidn/libtorrent/releases/download/libtorrent_1_1_
MD5SUM="2936033607cd2e3e3edff0e10f6ac799"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="GeoIP"
+REQUIRES=""
MAINTAINER="Dave Woodfall"
-EMAIL="dave@tty1.uk"
+EMAIL="dave@slackbuilds.org"