Makefile 955 B

123456789101112131415161718192021222324252627
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libevent
  5. PKG_VERSION:= 2.0.21
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5
  8. PKG_DESCR:= event notification library for event-driven network servers
  9. PKG_SECTION:= libs/net
  10. PKG_URL:= http://libevent.org/
  11. PKG_SITES:= https://github.com/downloads/libevent/libevent/
  12. PKG_OPTS:= dev
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-stable.tar.gz
  14. WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_VERSION)-stable
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBEVENT,libevent,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. libevent-install:
  18. $(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib
  20. include ${ADK_TOPDIR}/mk/pkg-bottom.mk