buildrootschalter/package/ctorrent/ctorrent.mk
Kelvin Cheung cc8a917598 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>
2009-08-31 07:23:59 +02:00

18 lines
470 B
Makefile

#############################################################
#
# enhanced ctorrent
#
#############################################################
CTORRENT_VERSION:=dnh3.3.2
CTORRENT_SOURCE:=ctorrent-$(CTORRENT_VERSION).tar.gz
CTORRENT_SITE:=http://www.rahul.net/dholmes/ctorrent/
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))