Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031
  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:= conntrack-tools
  5. PKG_VERSION:= 1.4.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3cc4703d883c6f07085e29bdc993222b
  8. PKG_DESCR:= Connection tracking userspace tools
  9. PKG_SECTION:= 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_ARCH_DEPENDS:= !avr32
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(TOPDIR)/mk/package.mk
  17. TARGET_CPPFLAGS+= -I$(STAGING_DIR)/usr/include/tirpc
  18. $(eval $(call PKG_template,CONNTRACK_TOOLS,conntrack-tools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. conntrack-tools-install:
  20. $(INSTALL_DIR) $(IDIR_CONNTRACK_TOOLS)/usr/sbin
  21. $(INSTALL_BIN) $(WRKINST)/usr/sbin/conntrack{,d} $(IDIR_CONNTRACK_TOOLS)/usr/sbin
  22. include ${TOPDIR}/mk/pkg-bottom.mk