summaryrefslogtreecommitdiff
path: root/package/p11-kit
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-06 20:45:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-06 20:48:22 +0200
commitc90431d77b223578507c5d03d8be333449f6091c (patch)
treeefd5b1416a67bae2f647613422c10e68c29723cb /package/p11-kit
parent064b4844d5c0f0c06c71693b6f8ebc00140f7580 (diff)
p11-kit: new package
Diffstat (limited to 'package/p11-kit')
-rw-r--r--package/p11-kit/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/p11-kit/Makefile b/package/p11-kit/Makefile
new file mode 100644
index 000000000..0c6781ad7
--- /dev/null
+++ b/package/p11-kit/Makefile
@@ -0,0 +1,31 @@
+# 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:= p11-kit
+PKG_VERSION:= 0.23.2
+PKG_RELEASE:= 1
+PKG_HASH:= ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0
+PKG_DESCR:= pkcs11 library
+PKG_SECTION:= libs/crypto
+PKG_DEPENDS:= libtasn1
+PKG_BUILDDEP:= libtasn1
+PKG_URL:= https://p11-glue.freedesktop.org/p11-kit.html
+PKG_SITES:= https://p11-glue.freedesktop.org/releases/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P11_KIT,p11-kit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIGURE_ARGS+= --disable-static
+
+p11-kit-install:
+ $(INSTALL_DIR) $(IDIR_P11_KIT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libp11-kit*.so* \
+ $(IDIR_P11_KIT)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk