Makefile 1.1 KB

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:= libevent
  5. PKG_VERSION:= 1.3
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= d87b05143c6c2bc9464758e68e9c6e25
  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_SUBPKGS:= LIBEVENT LIBEVENT_DEV
  13. PKGSD_LIBEVENT_DEV:= development files for libevent
  14. PKGSC_LIBEVENT_DEV:= devel
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBEVENT,libevent,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBEVENT_DEV,libevent-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBEVENT_DEV},${PKGSC_LIBEVENT_DEV}))
  18. libevent-install:
  19. $(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib
  21. libevent-dev-install:
  22. ${INSTALL_DIR} ${IDIR_LIBEVENT_DEV}/usr/include
  23. ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBEVENT_DEV}/usr/include
  24. include ${TOPDIR}/mk/pkg-bottom.mk