1
0

Makefile 965 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:= libevent
  5. PKG_VERSION:= 1.4.14b
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= a00e037e4d3f9e4fe9893e8a2d27918c
  8. PKG_DESCR:= Event notification library for event-driven network servers
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.monkey.org/~provos/
  11. PKG_SITES:= http://www.monkey.org/~provos/
  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. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  18. libevent-install:
  19. $(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib
  21. include ${TOPDIR}/mk/pkg-bottom.mk