Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= text
  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. --enable-fake-curl \
  28. --disable-regex
  29. post-install:
  30. ${INSTALL_DIR} ${IDIR_GNUPG}/usr/bin/
  31. ${INSTALL_DIR} ${IDIR_GNUPG}/usr/share/gnupg
  32. ${INSTALL_DATA} ${WRKINST}/usr/share/gnupg/options.skel \
  33. ${IDIR_GNUPG}/usr/share/gnupg
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/gpg ${IDIR_GNUPG}/usr/bin/
  35. # we need root privileges for secure memory (locked pages)
  36. chmod u+s ${IDIR_GNUPG}/usr/bin/gpg
  37. include ${TOPDIR}/mk/pkg-bottom.mk