diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:41:49 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:41:49 +0200 |
commit | a86dce83ef4bca8b610631543e38d15c18464172 (patch) | |
tree | d0e0f48ee60aa4d525cc2ae77eaeb87d8d55778f /libraries | |
parent | 0e396108c58d0cee8b9db81c64c6b2b8c6e50d3c (diff) |
libraries/libtorrent-rasterbar: Updated for version 0.14.3
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libtorrent-rasterbar/README | 2 | ||||
-rw-r--r-- | libraries/libtorrent-rasterbar/boost-1.36.0.patch | 40 | ||||
-rw-r--r-- | libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/libtorrent-rasterbar/libtorrent-rasterbar.info | 6 | ||||
-rw-r--r-- | libraries/libtorrent-rasterbar/slack-desc | 12 |
5 files changed, 18 insertions, 54 deletions
diff --git a/libraries/libtorrent-rasterbar/README b/libraries/libtorrent-rasterbar/README index 36bca045b5f6e..a0780fcbe0eb4 100644 --- a/libraries/libtorrent-rasterbar/README +++ b/libraries/libtorrent-rasterbar/README @@ -2,4 +2,4 @@ libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client. -Requires boost, available at SlackBuilds.org +This requires boost. diff --git a/libraries/libtorrent-rasterbar/boost-1.36.0.patch b/libraries/libtorrent-rasterbar/boost-1.36.0.patch deleted file mode 100644 index cffebba940a26..0000000000000 --- a/libraries/libtorrent-rasterbar/boost-1.36.0.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -uNr src/torrent_info.cpp src/torrent_info.cpp2 ---- src/torrent_info.cpp 2008-08-24 18:13:52.000000000 +0200 -+++ src/torrent_info.cpp 2008-08-24 18:15:28.000000000 +0200 -@@ -354,7 +354,11 @@ - { - m_name = tmp.leaf(); - } -+#if BOOST_VERSION < 103600 - else if (tmp.has_branch_path()) -+#else -+ else if (tmp.has_parent_path()) -+#endif - { - fs::path p; - for (fs::path::iterator i = tmp.begin() -@@ -572,7 +576,11 @@ - { - // TORRENT_ASSERT(file.begin() != file.end()); - -+#if BOOST_VERSION < 103600 - if (!file.has_branch_path()) -+#else -+ if (!file.has_parent_path()) -+#endif - { - // you have already added at least one file with a - // path to the file (branch_path), which means that - -====================================================================================== -diff -uNr include/libtorrent/disk_io_thread.hpp include/libtorrent/disk_io_thread.hpp2 ---- include/libtorrent/disk_io_thread.hpp 2008-04-09 10:48:02.000000000 +0200 -+++ include/libtorrent/disk_io_thread.hpp 2008-08-24 20:38:01.000000000 +0200 -@@ -39,6 +39,7 @@ - - #include "libtorrent/storage.hpp" - #include <boost/thread/thread.hpp> -+#include <boost/thread/condition.hpp> - #include <boost/function.hpp> - #include <boost/thread/mutex.hpp> - #include <boost/bind.hpp> diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild index 3052415e27f7c..06f1081ff280c 100644 --- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild +++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild @@ -4,7 +4,7 @@ # Written by Erik Hanson erik@slackbuilds.org PRGNAM=libtorrent-rasterbar -VERSION=0.13.1 +VERSION=0.14.3 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -18,6 +18,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi rm -rf $PKG @@ -29,9 +31,6 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Patch lifted from Zenwalk -patch -p0 < $CWD/boost-1.36.0.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -39,6 +38,8 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --disable-static \ + --enable-python-binding \ + --with-zlib=system \ --build=$ARCH-slackware-linux make @@ -47,6 +48,9 @@ make install-strip DESTDIR=$PKG # Install missing asio includes; thanks to Heinz Wiesinger. cp -a include/libtorrent/asio $PKG/usr/include/libtorrent/ +# Remove empty directory; thanks to Larry Hajali. +rmdir $PKG/usr/bin + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README docs/ \ $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info index d7143d95073c6..3ec7c17ac3347 100644 --- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info +++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info @@ -1,8 +1,8 @@ PRGNAM="libtorrent-rasterbar" -VERSION="0.13.1" +VERSION="0.14.3" HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" -DOWNLOAD="http://downloads.sourceforge.net/libtorrent/libtorrent-rasterbar-0.13.1.tar.gz" -MD5SUM="9d6b112fedc5861402647ff72e95dba0" +DOWNLOAD="http://downloads.sourceforge.net/libtorrent/libtorrent-rasterbar-0.14.3.tar.gz" +MD5SUM="6ce3148f8fbddbdfa472ef3c4c4cae61" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" APPROVED="rworkman" diff --git a/libraries/libtorrent-rasterbar/slack-desc b/libraries/libtorrent-rasterbar/slack-desc index 663695b194924..241cb1d43a534 100644 --- a/libraries/libtorrent-rasterbar/slack-desc +++ b/libraries/libtorrent-rasterbar/slack-desc @@ -5,15 +5,15 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler----------------------------------------| + |-----handy-ruler-------------------------------------------------------| libtorrent-rasterbar: libtorrent-rasterbar (a bittorrent C++ library) -libtorrent-rasterbar: -libtorrent-rasterbar: libtorrent is a C++ library that aims to be a good -libtorrent-rasterbar: alternative to all the other bittorrent implementations -libtorrent-rasterbar: around. It is a library and not a full featured client, -libtorrent-rasterbar: although it comes with a working example client. +libtorrent-rasterbar: +libtorrent-rasterbar: libtorrent is a C++ library that aims to be a good alternative to all +libtorrent-rasterbar: of the other bittorrent implementations around. It is a library, not +libtorrent-rasterbar: a full featured client, although it comes with an example client. libtorrent-rasterbar: libtorrent-rasterbar: Homepage: http://www.rasterbar.com/products/libtorrent/ libtorrent-rasterbar: libtorrent-rasterbar: libtorrent-rasterbar: +libtorrent-rasterbar: |