summaryrefslogtreecommitdiff
path: root/package/gnupg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gnupg/Makefile')
-rw-r--r--package/gnupg/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/package/gnupg/Makefile b/package/gnupg/Makefile
new file mode 100644
index 000000000..950b1ffbe
--- /dev/null
+++ b/package/gnupg/Makefile
@@ -0,0 +1,44 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= gnupg
+PKG_VERSION:= 1.4.10
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 991faf66d3352ac1452acc393c430b23
+PKG_DESCR:= Gnu Privacy Guard
+PKG_SECTION:= text
+PKG_DEPENDS:= libreadline libiconv
+PKG_BUILDDEP+= readline libiconv
+PKG_URL:= http://www.gnupg.org
+PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/gnupg/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,GNUPG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --disable-asm \
+ --disable-gnupg-iconv \
+ --disable-card-support \
+ --disable-agent-support \
+ --disable-bzip2 \
+ --disable-exec \
+ --disable-ldap \
+ --disable-hkp \
+ --disable-finger \
+ --disable-ftp \
+ --disable-dns-srv \
+ --enable-fake-curl \
+ --disable-regex
+
+post-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 ${TOPDIR}/mk/pkg-bottom.mk