diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-17 12:11:03 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-22 22:31:24 +0200 |
commit | 9bee7441bc00c0f42c2d9498addcb18f6fb992df (patch) | |
tree | 41811bd242b992281d45e69be440bd69c2d67ef3 | |
parent | 3ca1407b8b0078cfdef9934741533c2ee279460a (diff) |
libssh: allow to choose libressl
-rw-r--r-- | package/libssh/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/package/libssh/Makefile b/package/libssh/Makefile index 488ff79f4..bafcc0dce 100644 --- a/package/libssh/Makefile +++ b/package/libssh/Makefile @@ -8,12 +8,20 @@ PKG_VERSION:= 7ec798d3e73f3dac94a3c240545ebaf4daa189b4 PKG_RELEASE:= 1 PKG_DESCR:= secure shell library PKG_SECTION:= libs/net -PKG_DEPENDS:= libopenssl zlib -PKG_BUILDDEP:= cmake-host openssl zlib +PKG_DEPENDS:= zlib +PKG_BUILDDEP:= cmake-host zlib PKG_URL:= http://www.libssh.org/ PKG_SITES:= git://git.libssh.org/projects/libssh.git PKG_OPTS:= dev +PKG_CHOICES_LIBSSH:= WITH_LIBRESSL WITH_OPENSSL +PKGCD_WITH_LIBRESSL:= use libressl for crypto +PKGCS_WITH_LIBRESSL:= libressl +PKGCB_WITH_LIBRESSL:= libressl +PKGCD_WITH_OPENSSL:= use openssl for crypto +PKGCS_WITH_OPENSSL:= libopenssl +PKGCB_WITH_OPENSSL:= openssl + include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBSSH,libssh,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) |