Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= libnetfilter_conntrack
  5. PKG_VERSION:= 0.9.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b7506cbb7580433859809d8eac53a199
  8. PKG_DESCR:= API to connection tracking state table
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libnfnetlink
  11. PKG_BUILDDEP:= libnfnetlink
  12. PKG_URL:= http://www.netfilter.org/projects/libnetfilter_conntrack/
  13. PKG_SITES:= http://www.netfilter.org/projects/libnetfilter_conntrack/files/
  14. PKG_SUBPKGS:= LIBNETFILTER_CONNTRACK LIBNETFILTER_CONNTRACK_DEV
  15. PKGSC_LIBNETFILTER_CONNTRACK_DEV:= devel
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LIBNETFILTER_CONNTRACK,libnetfilter-conntrack,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,LIBNETFILTER_CONNTRACK_DEV,libnetfilter-conntrack-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBNETFILTER_CONNTRACK_DEV}))
  20. libnetfilter-conntrack-install:
  21. $(INSTALL_DIR) $(IDIR_LIBNETFILTER_CONNTRACK)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libnetfilter_conntrack*so* \
  23. $(IDIR_LIBNETFILTER_CONNTRACK)/usr/lib
  24. libnetfilter-conntrack-dev-install:
  25. $(INSTALL_DIR) $(IDIR_LIBNETFILTER_CONNTRACK_DEV)/usr/include
  26. $(CP) $(WRKINST)/usr/include/* \
  27. $(IDIR_LIBNETFILTER_CONNTRACK_DEV)/usr/include
  28. $(INSTALL_DIR) $(IDIR_LIBNETFILTER_CONNTRACK_DEV)/usr/lib/pkgconfig
  29. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  30. $(IDIR_LIBNETFILTER_CONNTRACK_DEV)/usr/lib/pkgconfig
  31. include ${TOPDIR}/mk/pkg-bottom.mk