summaryrefslogtreecommitdiffstats
path: root/package/ctorrent/ctorrent.mk
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2009-08-31 07:23:59 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-08-31 07:23:59 +0200
commitcc8a9175980d6f58d3c60071a6e9d64cf9485bda (patch)
tree5127e56e76c3d2a068412ca5abce3f186342bc5b /package/ctorrent/ctorrent.mk
parent014df317d47c17c8b98518bfd5062390ff35e5cf (diff)
downloadbuildroot-novena-cc8a9175980d6f58d3c60071a6e9d64cf9485bda.tar.gz
buildroot-novena-cc8a9175980d6f58d3c60071a6e9d64cf9485bda.zip
ctorrent: build with ssl support if available
Closes #557 Build with openssl support if that is enabled. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ctorrent/ctorrent.mk')
-rw-r--r--package/ctorrent/ctorrent.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/ctorrent/ctorrent.mk b/package/ctorrent/ctorrent.mk
index 256088180..aa2215315 100644
--- a/package/ctorrent/ctorrent.mk
+++ b/package/ctorrent/ctorrent.mk
@@ -6,6 +6,12 @@
CTORRENT_VERSION:=dnh3.3.2
CTORRENT_SOURCE:=ctorrent-$(CTORRENT_VERSION).tar.gz
CTORRENT_SITE:=http://www.rahul.net/dholmes/ctorrent/
-CTORRENT_CONF_OPT:=--with-ssl=no
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+CTORRENT_CONF_OPT+=--with-ssl=yes
+CTORRENT_DEPENDENCIES+=openssl
+else
+CTORRENT_CONF_OPT+=--with-ssl=no
+endif
$(eval $(call AUTOTARGETS,package,ctorrent))