summaryrefslogtreecommitdiff
path: root/package/wolfssl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-30 21:26:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-30 21:27:06 +0200
commit926ffc16c47e6620b9085bec581613be50ae5620 (patch)
treefe722e012b9d00896eab79fbb8da78373c29ee5b /package/wolfssl/Makefile
parent5322dff320709cc4325e181e1ecd038ea3cd9309 (diff)
cyassl is now wolfssl. update to latest
Diffstat (limited to 'package/wolfssl/Makefile')
-rw-r--r--package/wolfssl/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/wolfssl/Makefile b/package/wolfssl/Makefile
new file mode 100644
index 000000000..23ef53510
--- /dev/null
+++ b/package/wolfssl/Makefile
@@ -0,0 +1,28 @@
+# 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:= wolfssl
+PKG_VERSION:= 3.4.0
+PKG_RELEASE:= 1
+PKG_HASH:= 22622295ef42e9e37341009e4b134165fb06db53cbc8509dbeb822b9dd613c45
+PKG_DESCR:= portable embedded ssl library
+PKG_SECTION:= libs/crypto
+PKG_URL:= http://www.wolfssl.com
+PKG_SITES:= http://www.openadk.org/distfiles/
+PKG_OPTS:= dev
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,WOLFSSL,wolfssl,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIGURE_ARGS+= --disable-examples
+CONFIGURE_ENV+= C_EXTRA_FLAGS='$(TARGET_CFLAGS)'
+
+wolfssl-install:
+ $(INSTALL_DIR) $(IDIR_WOLFSSL)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libwolfssl*.so* \
+ $(IDIR_WOLFSSL)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk