diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-20 07:58:13 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-22 22:31:26 +0200 |
commit | 26e2aca4359bc7cff080c8446a67b838a5026d15 (patch) | |
tree | 404eafc8d39d46286fc41118e9d511f873b6ce8d /package/ctorrent/Makefile | |
parent | 75114af47a5f090b59b80d511472493b93c2e2c6 (diff) |
ssl: rework ssl support
Use libressl as default, where SSL is required.
Allow to choose openssl.
Disable SSL where not strictly required to build.
Diffstat (limited to 'package/ctorrent/Makefile')
-rwxr-xr-x | package/ctorrent/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/ctorrent/Makefile b/package/ctorrent/Makefile index 9edbe4192..833a3853d 100755 --- a/package/ctorrent/Makefile +++ b/package/ctorrent/Makefile @@ -10,12 +10,19 @@ PKG_HASH:= c87366c91475931f75b924119580abd06a7b3cb3f00fef47346552cab1e24863 PKG_DESCR:= console-based bittorrent client PKG_SECTION:= app/p2p PKG_DEPENDS:= libstdcxx -PKG_BUILDDEP:= openssl PKG_URL:= http://www.rahul.net/dholmes/ctorrent PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=dtorrent/} DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +PKG_CHOICES_CTORRENT:= WITH_LIBRESSL WITH_OPENSSL +PKGCD_WITH_LIBRESSL:= use libressl for crypto +PKGCB_WITH_LIBRESSL:= libressl +PKGCS_WITH_LIBRESSL:= libressl +PKGCD_WITH_OPENSSL:= use openssl for crypto +PKGCB_WITH_OPENSSL:= openssl +PKGCS_WITH_OPENSSL:= libopenssl + include ${ADK_TOPDIR}/mk/package.mk $(eval $(call PKG_template,CTORRENT,ctorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) |