summaryrefslogtreecommitdiff
path: root/package/supl/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:47:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:36 +0100
commit1f9113fee2da6c57c561616428439e2cdebf10e4 (patch)
treedf39441d695babe4d9ead92fe4d4c9485df6446c /package/supl/Makefile
parent49e03ead81a32c7443a1c38ec06ead54162fda93 (diff)
port supl library package
Also enhance the client to allow binding to an interface.
Diffstat (limited to 'package/supl/Makefile')
-rw-r--r--package/supl/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/supl/Makefile b/package/supl/Makefile
new file mode 100644
index 000000000..948ebb339
--- /dev/null
+++ b/package/supl/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= supl
+PKG_VERSION:= 1.0.6
+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
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SUPL,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= minimal
+CONFIGURE_ARGS+= --precompiled-asn1=yes --prefix="${WRKINST}/usr"
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_SUPL)/usr/{bin,lib}
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/supl-{cert,client,proxy} \
+ $(IDIR_SUPL)/usr/bin
+ ${CP} ${WRKINST}/usr/lib/lib{asnrrlp,asnsupl,supl}.so* \
+ ${IDIR_SUPL}/usr/lib
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk