diff options
Diffstat (limited to 'libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild')
-rw-r--r-- | libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild | 12 |
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 |