Makefile 1.3 KB

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