From cc8a9175980d6f58d3c60071a6e9d64cf9485bda Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Mon, 31 Aug 2009 07:23:59 +0200 Subject: ctorrent: build with ssl support if available Closes #557 Build with openssl support if that is enabled. Signed-off-by: Kelvin Cheung Signed-off-by: Peter Korsgaard --- package/ctorrent/ctorrent.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'package') 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)) -- cgit v1.2.3