summaryrefslogtreecommitdiff
path: root/package/gpg
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpg')
-rw-r--r--package/gpg/Config.in9
-rw-r--r--package/gpg/Makefile43
-rw-r--r--package/gpg/ipkg/gpg.control5
3 files changed, 57 insertions, 0 deletions
diff --git a/package/gpg/Config.in b/package/gpg/Config.in
new file mode 100644
index 000000000..037529c5b
--- /dev/null
+++ b/package/gpg/Config.in
@@ -0,0 +1,9 @@
+config ADK_PACKAGE_GPG
+ prompt "gpg .............................. Gnu Privacy Guard"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBREADLINE
+ help
+ GPG is an encryption program
+
+ http://www.gnupg.org
diff --git a/package/gpg/Makefile b/package/gpg/Makefile
new file mode 100644
index 000000000..2fa4ea584
--- /dev/null
+++ b/package/gpg/Makefile
@@ -0,0 +1,43 @@
+# $Id$
+#-
+# 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.9
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 3537dedea45cc09e8d88d1ef4f774246
+MASTER_SITES:= ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/ \
+ ftp://ftp.gnupg.org/gcrypt/gnupg/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,GPG,gpg,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= ac_cv_c_bigendian=no \
+ ac_cv_sizeof_off_t=8
+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
+BUILD_STYLE:= auto
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_GPG}/usr/bin/
+ ${INSTALL_BIN} ${WRKBUILD}/g10/gpg ${IDIR_GPG}/usr/bin/
+# we need root privileges for secure memory (locked pages)
+ chmod u+s ${IDIR_GPG}/usr/bin/gpg
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gpg/ipkg/gpg.control b/package/gpg/ipkg/gpg.control
new file mode 100644
index 000000000..8dd20f144
--- /dev/null
+++ b/package/gpg/ipkg/gpg.control
@@ -0,0 +1,5 @@
+Package: gpg
+Priority: optional
+Section: text
+Description: Gnu Privacy Guard
+Depends: libreadline