summaryrefslogtreecommitdiff
path: root/package/conntrack-tools/Makefile
blob: 940e1772d5b730cda89b1e2491dd6886866252d2 (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
# 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.2.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		48d414cb7a354001babf184ae6c16db9
PKG_DESCR:=		Connection tracking userspace tools
PKG_SECTION:=		firewall
PKG_DEPENDS:=		libnetfilter-conntrack libnetfilter-cttimeout libmnl
PKG_BUILDDEP:=		libnetfilter_conntrack libnetfilter_cttimeout 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

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

post-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