1
0

Makefile 909 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= libevent
  5. PKG_VERSION:= 2.0.21
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b2405cc9ebf264aa47ff615d9de527a2
  8. PKG_DESCR:= event notification library for event-driven network servers
  9. PKG_SECTION:= libs
  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 $(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 ${TOPDIR}/mk/pkg-bottom.mk