summaryrefslogtreecommitdiffstats
path: root/ftp-libs
diff options
context:
space:
mode:
authorFinn Haedicke2009-11-30 12:35:32 +0100
committerFinn Haedicke2009-11-30 13:16:37 +0100
commit56109fdf267f3bc1c4ac2292b8d58ef85961d4a5 (patch)
treecc2e74142427445a5c2a046ad3d805c4c8b62f4e /ftp-libs
parenta982ac253a2e718afacf2b59a1f56b609d535b3e (diff)
rb-libtorrent: query for python bindings
Diffstat (limited to 'ftp-libs')
-rwxr-xr-xftp-libs/rb-libtorrent/BUILD2
-rwxr-xr-xftp-libs/rb-libtorrent/CONFIGURE2
-rwxr-xr-xftp-libs/rb-libtorrent/DEPENDS7
-rw-r--r--ftp-libs/rb-libtorrent/HISTORY3
4 files changed, 13 insertions, 1 deletions
diff --git a/ftp-libs/rb-libtorrent/BUILD b/ftp-libs/rb-libtorrent/BUILD
new file mode 100755
index 0000000000..06932b98f7
--- /dev/null
+++ b/ftp-libs/rb-libtorrent/BUILD
@@ -0,0 +1,2 @@
+OPTS="$RB_LIBTORRENT_OPTS $OPTS" &&
+default_build
diff --git a/ftp-libs/rb-libtorrent/CONFIGURE b/ftp-libs/rb-libtorrent/CONFIGURE
new file mode 100755
index 0000000000..03cc55068f
--- /dev/null
+++ b/ftp-libs/rb-libtorrent/CONFIGURE
@@ -0,0 +1,2 @@
+config_query_option RB_LIBTORRENT_OPTS "build python bindings?" n \
+ "--enable-python-binding" "--disable-python-binding"
diff --git a/ftp-libs/rb-libtorrent/DEPENDS b/ftp-libs/rb-libtorrent/DEPENDS
index 719091147a..223a481421 100755
--- a/ftp-libs/rb-libtorrent/DEPENDS
+++ b/ftp-libs/rb-libtorrent/DEPENDS
@@ -4,4 +4,9 @@ sub_depends boost THREAD &&
sub_depends boost FILESYSTEM &&
sub_depends boost DATE_TIME &&
sub_depends boost REGEX &&
-sub_depends boost PROGRAM_OPTIONS
+sub_depends boost PROGRAM_OPTIONS &&
+
+if list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding"
+then
+ sub_depends boost PYTHON
+fi
diff --git a/ftp-libs/rb-libtorrent/HISTORY b/ftp-libs/rb-libtorrent/HISTORY
index bc85057ced..f83e89cdff 100644
--- a/ftp-libs/rb-libtorrent/HISTORY
+++ b/ftp-libs/rb-libtorrent/HISTORY
@@ -1,3 +1,6 @@
+2009-11-30 Finn Haedicke <finn@sourcemage.org>
+ * CONFIGURE, BUILD, DEPENDS: query for python bindings
+
2009-11-19 Bor Kraljič <pyrobor@ver.si>
* DETAILS: updated spell to 0.14.7