-if list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding"
-then
+if list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding"; then
sub_depends boost PYTHON
-fi
+fi &&
+
+optional_depends openssl \
+ "--with-ssl" \
+ "--without-ssl" \
+ "for SSL support" &&
+
+optional_depends geoip \
+ "--with-libgeoip" "" \
+ "enable linking against system libgeoip"
diff --git a/ftp-libs/rb-libtorrent/DETAILS b/ftp-libs/rb-libtorrent/DETAILS
index 1db075b..708d52f 100755
--- a/ftp-libs/rb-libtorrent/DETAILS
+++ b/ftp-libs/rb-libtorrent/DETAILS
@@ -1,13 +1,13 @@
SPELL=rb-libtorrent
- VERSION=0.14.7
+ VERSION=0.14.8
SOURCE=libtorrent-rasterbar-$VERSION.tar.gz
- SOURCE_URL[0]=$SOURCEFORGE_URL/libtorrent/${SOURCE}
-
SOURCE_HASH=sha512:6d4657f1a9ea64ee34d9f52c668a8cf9392d457e02ff9a63c6d29df35520ffa75d0f7aeb4a718ac6df9ff9db3ebde79f939486164195b77e82e3bc654441679c
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/libtorrent-rasterbar-${VERSION}"
- WEB_SITE="http://www.rasterbar.com/products/libtorrent/"
+ SOURCE_URL[0]=http://libtorrent.googlecode.com/files/$SOURCE
+
SOURCE_HASH=sha512:d4c5a22ac543976f53ebfe41e6d3eba7f45229f16bae444acbf01b6e38b5c59e724383c7878f86a4827a650ec0fac3f5b806030d86aac767467dea1a47e745a2
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/libtorrent-rasterbar-$VERSION"
+ WEB_SITE=http://www.rasterbar.com/products/libtorrent/
LICENSE=BSD
ENTERED=20070622
- SHORT="libtorrent is a C++ library that aims to be a good
alternative to all the other bittorrent"
+ SHORT="C++ bittorrent library"
cat << EOF
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
diff --git a/ftp-libs/rb-libtorrent/HISTORY b/ftp-libs/rb-libtorrent/HISTORY
index 317ad35..9d92c95 100644
--- a/ftp-libs/rb-libtorrent/HISTORY
+++ b/ftp-libs/rb-libtorrent/HISTORY
@@ -1,3 +1,8 @@
+2010-02-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 0.14.8, renewed source url (at
googlecode),
+ quoting paths
+ * DEPENDS: use system zlib; added openssl, geoip opt deps
+
2009-11-30 Finn Haedicke <finn AT sourcemage.org>
* CONFIGURE, BUILD, DEPENDS: query for python bindings
* {PRE_,}SUB_DEPENDS: added for python bindings
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3595d51e5042da9cb2a05e64c8225e110dfc0c74),
Vlad Glagolev, 02/07/2010