summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libassuan/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/libassuan/Makefile b/package/libassuan/Makefile
new file mode 100644
index 000000000..c79a1e455
--- /dev/null
+++ b/package/libassuan/Makefile
@@ -0,0 +1,29 @@
+# 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:= libassuan
+PKG_VERSION:= 2.4.2
+PKG_RELEASE:= 1
+PKG_HASH:= bb06dc81380b74bf1b64d5849be5c0409a336f3b4c45f20ac688e86d1b5bcb20
+PKG_DESCR:= implementation of assuan protocol
+PKG_SECTION:= libs/crypto
+PKG_DEPENDS:= libgpg-error
+PKG_BUILDDEP:= libgpg-error
+PKG_URL:= https://gnupg.org/related_software/libassuan/index.html
+PKG_SITES:= https://gnupg.org/ftp/gcrypt/libassuan/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBASSUAN,libassuan,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+libassuan-install:
+ $(INSTALL_DIR) $(IDIR_LIBASSUAN)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libassuan*.so* \
+ $(IDIR_LIBASSUAN)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk