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
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
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 \
33 --disable-card-support \
43 $(INSTALL_DIR
) $(IDIR_GPGV2
)/usr
/bin
44 $(INSTALL_BIN
) $(WRKBUILD
)/g10
/gpgv \
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