Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= gnupg
  5. PKG_VERSION:= 1.4.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3537dedea45cc09e8d88d1ef4f774246
  8. PKG_DESCR:= Gnu Privacy Guard
  9. PKG_SECTION:= text
  10. PKG_DEPENDS:= libreadline
  11. PKG_URL:= http://www.gnu.org
  12. PKG_SITES:= ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/ \
  13. ftp://ftp.gnupg.org/gcrypt/gnupg/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,GPG,gpg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= ac_cv_c_bigendian=no \
  18. ac_cv_sizeof_off_t=8
  19. CONFIGURE_ARGS+= --disable-asm \
  20. --disable-gnupg-iconv \
  21. --disable-card-support \
  22. --disable-agent-support \
  23. --disable-bzip2 \
  24. --disable-exec \
  25. --disable-ldap \
  26. --disable-hkp \
  27. --disable-finger \
  28. --disable-ftp \
  29. --disable-dns-srv \
  30. --enable-fake-curl \
  31. --disable-regex
  32. BUILD_STYLE:= auto
  33. do-install:
  34. ${INSTALL_DIR} ${IDIR_GPG}/usr/bin/
  35. ${INSTALL_BIN} ${WRKBUILD}/g10/gpg ${IDIR_GPG}/usr/bin/
  36. # we need root privileges for secure memory (locked pages)
  37. chmod u+s ${IDIR_GPG}/usr/bin/gpg
  38. include ${TOPDIR}/mk/pkg-bottom.mk