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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= gnupg
  5. PKG_VERSION:= 1.4.18
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 10a8936b76ccadb98521535b5f41cc5b41b3c159a6c2915f062bd4dc8ac12d12
  8. PKG_DESCR:= gnu privacy guard
  9. PKG_SECTION:= app/crypto
  10. PKG_DEPENDS:= libreadline libncurses
  11. PKG_BUILDDEP:= readline ncurses
  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 ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk