1
0

Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= conntrack-tools
  5. PKG_VERSION:= 1.4.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b1f9d006e7bf000a77395ff7cd3fac16
  8. PKG_DESCR:= connection tracking userspace tools
  9. PKG_SECTION:= net/firewall
  10. PKG_DEPENDS:= libtirpc libnetfilter_queue libnetfilter-conntrack libnetfilter-cttimeout libnetfilter-cthelper libmnl
  11. PKG_BUILDDEP:= libtirpc libnetfilter_queue libnetfilter_conntrack libnetfilter_cttimeout libnetfilter_cthelper libmnl
  12. PKG_URL:= http://conntrack-tools.netfilter.org/
  13. PKG_SITES:= http://www.netfilter.org/projects/conntrack-tools/files/
  14. PKG_SUBPKGS:= CONNTRACK CONNTRACKD
  15. PKGSD_CONNTRACK:= connection tracking client utility
  16. PKGSD_CONNTRACKD:= connection tracking daemon
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc -D_GNU_SOURCE
  20. $(eval $(call PKG_template,CONNTRACK,conntrack,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_CONNTRACK},${PKG_SECTION}))
  21. $(eval $(call PKG_template,CONNTRACKD,conntrackd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_CONNTRACKD},${PKG_SECTION}))
  22. conntrack-install:
  23. $(INSTALL_DIR) $(IDIR_CONNTRACK)/usr/sbin
  24. $(INSTALL_BIN) $(WRKINST)/usr/sbin/conntrack $(IDIR_CONNTRACK)/usr/sbin
  25. conntrackd-install:
  26. $(INSTALL_DIR) $(IDIR_CONNTRACKD)/usr/sbin
  27. $(INSTALL_BIN) $(WRKINST)/usr/sbin/conntrackd $(IDIR_CONNTRACKD)/usr/sbin
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk