toolchain: enable parallel building for gcc, glibc, binutils, gmp and mpfr
[openadk.git] / package / gnupg / Makefile
blob950b1ffbe15c91248ee1f4235b8aad0827c0df79
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 ${TOPDIR}/rules.mk
6 PKG_NAME:= gnupg
7 PKG_VERSION:= 1.4.10
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= 991faf66d3352ac1452acc393c430b23
10 PKG_DESCR:= Gnu Privacy Guard
11 PKG_SECTION:= text
12 PKG_DEPENDS:= libreadline libiconv
13 PKG_BUILDDEP+= readline libiconv
14 PKG_URL:= http://www.gnupg.org
15 PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/gnupg/
17 include ${TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,GNUPG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIGURE_ARGS+= --disable-asm \
22 --disable-gnupg-iconv \
23 --disable-card-support \
24 --disable-agent-support \
25 --disable-bzip2 \
26 --disable-exec \
27 --disable-ldap \
28 --disable-hkp \
29 --disable-finger \
30 --disable-ftp \
31 --disable-dns-srv \
32 --enable-fake-curl \
33 --disable-regex
35 post-install:
36 ${INSTALL_DIR} ${IDIR_GNUPG}/usr/bin/
37 ${INSTALL_DIR} ${IDIR_GNUPG}/usr/share/gnupg
38 ${INSTALL_DATA} ${WRKINST}/usr/share/gnupg/options.skel \
39 ${IDIR_GNUPG}/usr/share/gnupg
40 ${INSTALL_BIN} ${WRKINST}/usr/bin/gpg ${IDIR_GNUPG}/usr/bin/
41 # we need root privileges for secure memory (locked pages)
42 chmod u+s ${IDIR_GNUPG}/usr/bin/gpg
44 include ${TOPDIR}/mk/pkg-bottom.mk