Makefile 925 B

123456789101112131415161718192021222324252627282930
  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.4.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9e6dcf7fef1ae96b57207a1de91fdaa4
  8. PKG_DESCR:= GNU crypto library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libgpg-error
  11. PKG_URL:= http://directory.fsf.org/project/libgcrypt
  12. PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/libgcrypt/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBGCRYPT,libgcrypt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ARGS+= --disable-asm \
  17. --with-gpg-error-prefix="${STAGING_DIR}/usr"
  18. BUILD_STYLE= auto
  19. INSTALL_STYLE= auto confprog
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBGCRYPT}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libgcrypt.so.* ${IDIR_LIBGCRYPT}/usr/lib/
  23. include ${TOPDIR}/mk/pkg-bottom.mk