Makefile 1020 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:= libmicrohttpd
  5. PKG_VERSION:= 0.9.37
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= fdf1e0534d83bbf2663f80fa7873be77
  8. PKG_DESCR:= library make it easy to run an webserver
  9. PKG_SECTION:= libs/net
  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. --disable-spdy
  20. libmicrohttpd-install:
  21. $(INSTALL_DIR) $(IDIR_LIBMICROHTTPD)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libmicrohttpd*.so* \
  23. $(IDIR_LIBMICROHTTPD)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk