summaryrefslogtreecommitdiffstats
path: root/libtorrent-rasterbar
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-03-19 14:30:47 +0000
committer Eric Hameleers <alien@slackware.com>2010-03-19 14:30:47 +0000
commit8a11266d2ce1cd6e44242337868eb262e3db067c (patch)
tree39a918753d003f2ad8628d710f3692765f5d3cf8 /libtorrent-rasterbar
parentb193da65a27dff5b11bd5c49c0316e2b5c4d46f7 (diff)
downloadasb-8a11266d2ce1cd6e44242337868eb262e3db067c.tar.gz
asb-8a11266d2ce1cd6e44242337868eb262e3db067c.tar.xz
Also add dump_torrent binary
Diffstat (limited to 'libtorrent-rasterbar')
-rwxr-xr-xlibtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
index 751e97cd..b85fb58c 100755
--- a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
+++ b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
@@ -176,6 +176,14 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
make DESTDIR=$PKG install 2>&1 | tee $OUTPUT/install-${PRGNAM}.log
+# Also build the useful dump_torrent:
+echo -e "\n**\n**\n" >> $OUTPUT/make-${PRGNAM}.log
+make -C examples dump_torrent 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log
+
+# Install the dump_torrent binary manually:
+install -d -m0755 $PKG/usr/bin
+install -m0755 examples/dump_torrent $PKG/usr/bin/dump_torrent
+
# Install missing asio includes; thanks to Heinz Wiesinger.
cp -a include/libtorrent/asio $PKG/usr/include/libtorrent/