binutils: update to 2.43.1
[openadk.git] / package / gnupg2 / Makefile
bloba9e5a44c0b9821dffd1e4e40cf36ca75f6d10672
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= gnupg2
7 PKG_VERSION:= 2.4.4
8 PKG_RELEASE:= 1
9 PKG_HASH:= 67ebe016ca90fa7688ce67a387ebd82c6261e95897db7b23df24ff335be85bc6
10 PKG_DESCR:= gnu privacy guard (modern)
11 PKG_SECTION:= app/crypto
12 PKG_DEPENDS:= libreadline libncurses libgcrypt libgpg-error libassuan
13 PKG_DEPENDS+= libksba npth pinentry
14 PKG_BUILDDEP:= readline ncurses libgcrypt libgpg-error libassuan
15 PKG_BUILDDEP+= libksba npth
16 PKG_NEEDS:= iconv
17 PKG_URL:= http://www.gnupg.org/
18 PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/gnupg/
20 DISTFILES:= gnupg-$(PKG_VERSION).tar.bz2
21 WRKDIST= ${WRKDIR}/gnupg-${PKG_VERSION}
23 PKG_SUBPKGS:= GNUPG2 GPGV2
25 include $(ADK_TOPDIR)/mk/package.mk
27 $(eval $(call PKG_template,GNUPG2,gnupg2,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
28 $(eval $(call PKG_template,GPGV2,gpgv2,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
30 CONFIGURE_ARGS+= --disable-dirmngr \
31 --disable-gpgsm \
32 --disable-scdaemon \
33 --disable-card-support \
34 --disable-bzip2 \
35 --disable-exec \
36 --disable-ldap \
37 --disable-rpath \
38 --disable-regex \
39 --disable-tests \
40 --disable-doc
42 gpgv2-install:
43 $(INSTALL_DIR) $(IDIR_GPGV2)/usr/bin
44 $(INSTALL_BIN) $(WRKBUILD)/g10/gpgv \
45 $(IDIR_GPGV2)/usr/bin
47 gnupg2-install:
48 $(INSTALL_DIR) $(IDIR_GNUPG2)/usr/bin/
49 $(INSTALL_BIN) $(WRKBUILD)/g10/gpg $(IDIR_GNUPG2)/usr/bin/
50 $(INSTALL_BIN) $(WRKBUILD)/agent/gpg-agent $(IDIR_GNUPG2)/usr/bin/
51 # we need root privileges for secure memory (locked pages)
52 chmod u+s $(IDIR_GNUPG2)/usr/bin/gpg
54 include $(ADK_TOPDIR)/mk/pkg-bottom.mk