summaryrefslogtreecommitdiff
path: root/package/gnupg
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-11 09:32:52 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-11 09:33:07 +0100
commit863f8927e6541bcc6b4ef111f7f524578d8bf47d (patch)
treeaf8f4149b01b59655b3544541348131bfe8b9768 /package/gnupg
parentf6a072802a7e5bda7151fa28f08c24d512932961 (diff)
add subpackage for gpgv
Diffstat (limited to 'package/gnupg')
-rw-r--r--package/gnupg/Makefile39
1 files changed, 22 insertions, 17 deletions
diff --git a/package/gnupg/Makefile b/package/gnupg/Makefile
index 790543b5a..e99e84c1d 100644
--- a/package/gnupg/Makefile
+++ b/package/gnupg/Makefile
@@ -1,11 +1,11 @@
# 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
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gnupg
PKG_VERSION:= 1.4.18
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= 10a8936b76ccadb98521535b5f41cc5b41b3c159a6c2915f062bd4dc8ac12d12
PKG_DESCR:= gnu privacy guard
PKG_SECTION:= app/crypto
@@ -14,12 +14,14 @@ PKG_BUILDDEP:= readline ncurses
PKG_URL:= http://www.gnupg.org/
PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/gnupg/
-PKG_BUILDDEP_UCLIBC:= libiconv-tiny
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+PKG_SUBPKGS:= GNUPG GPGV
-include ${ADK_TOPDIR}/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,GNUPG,gnupg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,GNUPG,gnupg,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+$(eval $(call PKG_template,GPGV,gpgv,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
CONFIGURE_ARGS+= --disable-asm \
--disable-gnupg-iconv \
@@ -30,19 +32,22 @@ CONFIGURE_ARGS+= --disable-asm \
--disable-ldap \
--disable-hkp \
--disable-finger \
- --disable-ftp \
--disable-dns-srv \
--disable-rpath \
- --enable-fake-curl \
--disable-regex
+gpgv-install:
+ $(INSTALL_DIR) $(IDIR_GPGV)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/gpgv \
+ $(IDIR_GPGV)/usr/bin
+
gnupg-install:
- ${INSTALL_DIR} ${IDIR_GNUPG}/usr/bin/
- ${INSTALL_DIR} ${IDIR_GNUPG}/usr/share/gnupg
- ${INSTALL_DATA} ${WRKINST}/usr/share/gnupg/options.skel \
- ${IDIR_GNUPG}/usr/share/gnupg
- ${INSTALL_BIN} ${WRKINST}/usr/bin/gpg ${IDIR_GNUPG}/usr/bin/
-# we need root privileges for secure memory (locked pages)
- chmod u+s ${IDIR_GNUPG}/usr/bin/gpg
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+ $(INSTALL_DIR) $(IDIR_GNUPG)/usr/bin/
+ $(INSTALL_DIR) $(IDIR_GNUPG)/usr/share/gnupg
+ $(INSTALL_DATA) $(WRKINST)/usr/share/gnupg/options.skel \
+ $(IDIR_GNUPG)/usr/share/gnupg
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/gpg $(IDIR_GNUPG)/usr/bin/
+ # we need root privileges for secure memory (locked pages)
+ chmod u+s $(IDIR_GNUPG)/usr/bin/gpg
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk