summaryrefslogtreecommitdiff
path: root/package/cryptodev-linux/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-20 07:58:13 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-22 22:31:26 +0200
commit26e2aca4359bc7cff080c8446a67b838a5026d15 (patch)
tree404eafc8d39d46286fc41118e9d511f873b6ce8d /package/cryptodev-linux/Makefile
parent75114af47a5f090b59b80d511472493b93c2e2c6 (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/cryptodev-linux/Makefile')
-rw-r--r--package/cryptodev-linux/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/cryptodev-linux/Makefile b/package/cryptodev-linux/Makefile
index 0a2f0c9a6..3cccc0780 100644
--- a/package/cryptodev-linux/Makefile
+++ b/package/cryptodev-linux/Makefile
@@ -9,10 +9,17 @@ PKG_RELEASE:= 2
PKG_HASH:= 41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25
PKG_DESCR:= device that allows access to kernel cryptographic drivers
PKG_SECTION:= app/crypto
-PKG_BUILDDEP:= openssl
PKG_URL:= http://home.gna.org/cryptodev-linux/
PKG_SITES:= http://download.gna.org/cryptodev-linux/
+PKG_CHOICES_CRYPTODEV_LINUX:= 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
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include $(ADK_TOPDIR)/mk/package.mk