1
0

Makefile 947 B

1234567891011121314151617181920212223242526272829
  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:= a 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. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBMICROHTTPD,libmicrohttpd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CONFIGURE_ARGS+= --with-libgcrypt-prefix=$(STAGING_DIR)/usr
  18. libmicrohttpd-install:
  19. $(INSTALL_DIR) $(IDIR_LIBMICROHTTPD)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libmicrohttpd*.so* \
  21. $(IDIR_LIBMICROHTTPD)/usr/lib
  22. include ${TOPDIR}/mk/pkg-bottom.mk