summaryrefslogtreecommitdiff
path: root/package/conntrack-tools/Makefile
blob: 6cd5d4175430182c1cf5dfb9cd8690bd5b7f3d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		conntrack-tools
PKG_VERSION:=		1.4.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		3cc4703d883c6f07085e29bdc993222b
PKG_DESCR:=		Connection tracking userspace tools
PKG_SECTION:=		firewall
PKG_DEPENDS:=		libtirpc libnetfilter_queue libnetfilter-conntrack libnetfilter-cttimeout libnetfilter-cthelper libmnl
PKG_BUILDDEP:=		libtirpc libnetfilter_queue libnetfilter_conntrack libnetfilter_cttimeout libnetfilter_cthelper libmnl
PKG_URL:=		http://conntrack-tools.netfilter.org/
PKG_SITES:=		http://www.netfilter.org/projects/conntrack-tools/files/

PKG_ARCH_DEPENDS:=	!avr32

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.bz2

include $(TOPDIR)/mk/package.mk

TARGET_CPPFLAGS+=	-I$(STAGING_DIR)/usr/include/tirpc

$(eval $(call PKG_template,CONNTRACK_TOOLS,conntrack-tools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

conntrack-tools-install:
	$(INSTALL_DIR) $(IDIR_CONNTRACK_TOOLS)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/usr/sbin/conntrack{,d} $(IDIR_CONNTRACK_TOOLS)/usr/sbin

include ${TOPDIR}/mk/pkg-bottom.mk