1
0

Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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,${PKG_NAME},$(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. SUB_INSTALLS-y:=
  19. SUB_INSTALLS-m:=
  20. SUB_INSTALLS-${ADK_PACKAGE_LIBEVENT_DEV}+= libevent-dev-install
  21. post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
  22. $(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libevent*.so* \
  24. $(IDIR_LIBEVENT)/usr/lib/
  25. libevent-dev-install:
  26. ${INSTALL_DIR} ${IDIR_LIBEVENT_DEV}/usr/include
  27. ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBEVENT_DEV}/usr/include
  28. include ${TOPDIR}/mk/pkg-bottom.mk