1
0

Makefile 1.4 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:= libnfnetlink
  5. PKG_VERSION:= 1.0.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 016fdec8389242615024c529acc1adb8
  8. PKG_DESCR:= low-level library for netfilter related kernel/userspace communication
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.netfilter.org/projects/libnfnetlink/
  11. PKG_SITES:= http://www.netfilter.org/projects/libnfnetlink/files/
  12. PKG_SUBPKGS:= LIBNFNETLINK LIBNFNETLINK_DEV
  13. PKGSD_LIBNFNETLINK_DEV:=libnfnetlink headers
  14. PKGSC_LIBNFNETLINK_DEV:=devel
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBNFNETLINK,libnfnetlink,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBNFNETLINK_DEV,libnfnetlink-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBNFNETLINK_DEV},${PKGSC_LIBNFNETLINK_DEV}))
  19. libnfnetlink-install:
  20. $(INSTALL_DIR) $(IDIR_LIBNFNETLINK)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libnfnetlink.so* $(IDIR_LIBNFNETLINK)/usr/lib
  22. libnfnetlink-dev-install:
  23. $(INSTALL_DIR) $(IDIR_LIBNFNETLINK_DEV)/usr/include
  24. $(CP) $(WRKINST)/usr/include/* $(IDIR_LIBNFNETLINK_DEV)/usr/include
  25. $(INSTALL_DIR) $(IDIR_LIBNFNETLINK_DEV)/usr/lib/pkgconfig
  26. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  27. $(IDIR_LIBNFNETLINK_DEV)/usr/lib/pkgconfig
  28. include ${TOPDIR}/mk/pkg-bottom.mk