Makefile 981 B

1234567891011121314151617181920212223242526272829303132
  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.7.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 003d5147911317931dd453520eb234a5
  8. PKG_DESCR:= crypto 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. PKG_OPTS:= dev
  15. DISTFILES:= nettle-${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/nettle-${PKG_VERSION}
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LIBNETTLE,libnettle,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. libnettle-install:
  20. $(INSTALL_DIR) $(IDIR_LIBNETTLE)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libnettle*.so* \
  22. $(IDIR_LIBNETTLE)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libhogweed.so* \
  24. $(IDIR_LIBNETTLE)/usr/lib
  25. include ${TOPDIR}/mk/pkg-bottom.mk