summaryrefslogtreecommitdiffstats
path: root/ftp-libs/rb-libtorrent/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'ftp-libs/rb-libtorrent/DEPENDS')
-rwxr-xr-xftp-libs/rb-libtorrent/DEPENDS15
1 files changed, 12 insertions, 3 deletions
diff --git a/ftp-libs/rb-libtorrent/DEPENDS b/ftp-libs/rb-libtorrent/DEPENDS
index 223a481421..64b96342b8 100755
--- a/ftp-libs/rb-libtorrent/DEPENDS
+++ b/ftp-libs/rb-libtorrent/DEPENDS
@@ -1,3 +1,4 @@
+depends zlib "--with-zlib=system" &&
depends g++ &&
depends boost &&
sub_depends boost THREAD &&
@@ -6,7 +7,15 @@ sub_depends boost DATE_TIME &&
sub_depends boost REGEX &&
sub_depends boost PROGRAM_OPTIONS &&
-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"