summaryrefslogtreecommitdiffstats
path: root/package/libtorrent/libtorrent.mk
diff options
context:
space:
mode:
authorGustavo Zacarias2012-05-14 12:55:28 +0200
committerPeter Korsgaard2012-05-14 23:00:56 +0200
commitbe26c3e760d86dbcc45ce6edd9e266a623c0430d (patch)
treeecb3329312d7a77c1a6f5338b0b8e9c77af4983f /package/libtorrent/libtorrent.mk
parentlinphone: new package (diff)
downloadbuildroot-be26c3e760d86dbcc45ce6edd9e266a623c0430d.tar.gz
buildroot-be26c3e760d86dbcc45ce6edd9e266a623c0430d.tar.xz
buildroot-be26c3e760d86dbcc45ce6edd9e266a623c0430d.zip
libtorrent: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libtorrent/libtorrent.mk')
-rw-r--r--package/libtorrent/libtorrent.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/libtorrent/libtorrent.mk b/package/libtorrent/libtorrent.mk
new file mode 100644
index 000000000..100e68465
--- /dev/null
+++ b/package/libtorrent/libtorrent.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libtorrent
+#
+#############################################################
+
+LIBTORRENT_VERSION = 0.13.2
+LIBTORRENT_SITE = http://libtorrent.rakshasa.no/downloads
+LIBTORRENT_DEPENDENCIES = host-pkg-config libsigc \
+ $(if $(BR2_PACKAGE_OPENSSL),openssl)
+LIBTORRENT_CONF_OPT = --enable-aligned \
+ $(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl)
+LIBTORRENT_INSTALL_STAGING = YES
+LIBTORRENT_AUTORECONF = YES
+
+$(eval $(call AUTOTARGETS))