aboutsummaryrefslogtreecommitdiff
path: root/package/transmission/transmission.mk
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2016-07-03 00:18:13 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-07-03 19:53:53 +0200
commit349b1688a5a52b28ac33541363e70b613079f18c (patch)
tree4f7d3474aa33e21c133322b2f231bae3cc5e980b /package/transmission/transmission.mk
parent06015c7deb097ec97743835483d02329ca9bf210 (diff)
downloadbuildroot-349b1688a5a52b28ac33541363e70b613079f18c.tar.gz
buildroot-349b1688a5a52b28ac33541363e70b613079f18c.tar.bz2
package/transmission: add optional support for libminiupnpc/libnatpmp
Transmission bundles copies of both libraries and uses them if they are not provided by the system. This patch allows transmission to use the system libraries of libminiupnpc/libnatpmp. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/transmission/transmission.mk')
-rw-r--r--package/transmission/transmission.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
index c8d377327d..e0cfc2d33a 100644
--- a/package/transmission/transmission.mk
+++ b/package/transmission/transmission.mk
@@ -21,6 +21,17 @@ TRANSMISSION_CONF_OPTS = \
TRANSMISSION_LICENSE = GPLv2 or GPLv3 with OpenSSL exception
TRANSMISSION_LICENSE_FILES = COPYING
+ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
+TRANSMISSION_DEPENDENCIES += libminiupnpc
+endif
+
+ifeq ($(BR2_PACKAGE_LIBNATPMP),y)
+TRANSMISSION_DEPENDENCIES += libnatpmp
+TRANSMISSION_CONF_OPTS += --enable-external-natpmp
+else
+TRANSMISSION_CONF_OPTS += --disable-external-natpmp
+endif
+
ifeq ($(BR2_PACKAGE_TRANSMISSION_UTP),y)
TRANSMISSION_CONF_OPTS += --enable-utp
else