Makefile 1.4 KB

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