Makefile 951 B

12345678910111213141516171819202122232425262728293031
  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:= libnettle
  5. PKG_VERSION:= 2.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 450be8c4886d46c09f49f568ad6fa013
  8. PKG_DESCR:= Nettle Library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libgmp
  11. PKG_BUILDDEP:= gmp
  12. PKG_URL:= http://www.lysator.liu.se/~nisse/
  13. PKG_SITES:= http://www.lysator.liu.se/~nisse/archive/
  14. DISTFILES:= nettle-${PKG_VERSION}.tar.gz
  15. WRKDIST= ${WRKDIR}/nettle-${PKG_VERSION}
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBNETTLE,libnettle,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. libnettle-install:
  19. $(INSTALL_DIR) $(IDIR_LIBNETTLE)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libnettle*.so* \
  21. $(IDIR_LIBNETTLE)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libhogweed.so* \
  23. $(IDIR_LIBNETTLE)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk