1
0

Makefile 1000 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:= libmicrohttpd
  5. PKG_VERSION:= 0.9.26
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= bdac9b62fa3080890f9ab44cf29749fc
  8. PKG_DESCR:= C library make it easy to run an HTTP server
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libgcrypt
  11. PKG_BUILDDEP:= libgcrypt
  12. PKG_URL:= http://www.gnu.org/software/libmicrohttpd/
  13. PKG_SITES:= ${MASTER_SITE_GNU:=libmicrohttpd/}
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBMICROHTTPD,libmicrohttpd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ARGS+= --with-libgcrypt-prefix=$(STAGING_TARGET_DIR)/usr
  19. libmicrohttpd-install:
  20. $(INSTALL_DIR) $(IDIR_LIBMICROHTTPD)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libmicrohttpd*.so* \
  22. $(IDIR_LIBMICROHTTPD)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk