Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= libgcrypt
  5. PKG_VERSION:= 1.5.0
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 78f8f8bec4580f75b25816f7896d0389
  8. PKG_DESCR:= GNU crypto library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libgpg-error
  11. PKG_BUILDDEP:= libgpg-error
  12. PKG_URL:= http://directory.fsf.org/project/libgcrypt
  13. PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/libgcrypt/
  14. PKG_OPTS:= dev
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBGCRYPT,libgcrypt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CONFIGURE_ARGS+= --disable-asm \
  18. --with-gpg-error-prefix="${STAGING_TARGET_DIR}/usr"
  19. libgcrypt-install:
  20. ${INSTALL_DIR} ${IDIR_LIBGCRYPT}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libgcrypt.so* \
  22. ${IDIR_LIBGCRYPT}/usr/lib
  23. # provides own automake macros
  24. ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/share/aclocal
  25. ${CP} ${WRKINST}//usr/share/aclocal/libgcrypt.m4 \
  26. ${STAGING_HOST_DIR}/usr/share/aclocal
  27. include ${TOPDIR}/mk/pkg-bottom.mk