1
0

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