summaryrefslogtreecommitdiff
path: root/package/supl
diff options
context:
space:
mode:
Diffstat (limited to 'package/supl')
-rw-r--r--package/supl/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/supl/Makefile b/package/supl/Makefile
index 13e58560f..2fd08a1e2 100644
--- a/package/supl/Makefile
+++ b/package/supl/Makefile
@@ -9,14 +9,20 @@ PKG_RELEASE:= 1
PKG_HASH:= 068dc47ce818ce5634f09a88159df85a6ce3456e2467b11b8c5f8543a99bb347
PKG_DESCR:= tools for accessing sup/rrlp server
PKG_SECTION:= net/misc
-PKG_BUILDDEP:= openssl
-PKG_DEPENDS:= libopenssl
PKG_URL:= http://www.tajuma.com/supl/
PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=supl/)
DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
WRKDIST= $(WRKDIR)/trunk
+PKG_CHOICES_SUPL:= 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,SUPL,supl,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))