Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= gnupg
  7. PKG_VERSION:= 1.4.9
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 3537dedea45cc09e8d88d1ef4f774246
  10. PKG_DESCR:= Gnu Privacy Guard
  11. PKG_SECTION:= text
  12. PKG_DEPENDS:= libreadline
  13. PKG_URL:= http://www.gnu.org
  14. PKG_SITES:= ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/ \
  15. ftp://ftp.gnupg.org/gcrypt/gnupg/
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,GPG,gpg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ENV+= ac_cv_c_bigendian=no \
  20. ac_cv_sizeof_off_t=8
  21. CONFIGURE_ARGS+= --disable-asm \
  22. --disable-gnupg-iconv \
  23. --disable-card-support \
  24. --disable-agent-support \
  25. --disable-bzip2 \
  26. --disable-exec \
  27. --disable-ldap \
  28. --disable-hkp \
  29. --disable-finger \
  30. --disable-ftp \
  31. --disable-dns-srv \
  32. --enable-fake-curl \
  33. --disable-regex
  34. BUILD_STYLE:= auto
  35. do-install:
  36. ${INSTALL_DIR} ${IDIR_GPG}/usr/bin/
  37. ${INSTALL_BIN} ${WRKBUILD}/g10/gpg ${IDIR_GPG}/usr/bin/
  38. # we need root privileges for secure memory (locked pages)
  39. chmod u+s ${IDIR_GPG}/usr/bin/gpg
  40. include ${TOPDIR}/mk/pkg-bottom.mk