Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= libgcrypt
  5. PKG_VERSION:= 1.6.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 936921644b9c81e2395e18a554a9a5f9252aae3976f8afc3e4229ee9d785e627
  8. PKG_DESCR:= crypto library
  9. PKG_SECTION:= libs/crypto
  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. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBGCRYPT,libgcrypt,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  18. CONFIGURE_ARGS+= --disable-asm \
  19. --with-gpg-error-prefix="$(STAGING_TARGET_DIR)/usr"
  20. post-install:
  21. # provides own automake macros
  22. $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/share/aclocal
  23. $(CP) $(WRKINST)/usr/share/aclocal/libgcrypt.m4 \
  24. $(STAGING_HOST_DIR)/usr/share/aclocal
  25. libgcrypt-install:
  26. $(INSTALL_DIR) $(IDIR_LIBGCRYPT)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/libgcrypt.so* \
  28. $(IDIR_LIBGCRYPT)/usr/lib
  29. include $(ADK_TOPDIR)/mk/pkg-bottom.mk