nftables: bump to 2014-09-30, disable gmp
[openwrt/svn-archive/archive.git] / package / network / utils / nftables / Makefile
1 # Copyright (C) 2014 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=nftables
10 PKG_VERSION:=0.3+2014-09-30
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
15 PKG_SOURCE_URL:=git://git.netfilter.org/nftables
16 PKG_SOURCE_PROTO:=git
17 PKG_SOURCE_VERSION:=36c8a131af6217579da582bc320e16171df0f3af
18 PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
19
20 PKG_FIXUP:=autoreconf
21
22 include $(INCLUDE_DIR)/package.mk
23
24 CONFIGURE_ARGS += \
25 --disable-debug \
26 --without-libgmp \
27 --without-libreadline \
28
29 define Package/nftables
30 SECTION:=net
31 CATEGORY:=Network
32 SUBMENU:=Firewall
33 TITLE:=nftables packet filtering userspace utility
34 DEPENDS:=+kmod-nft-core +kmod-nft-nat +libnftnl
35 URL:=http://netfilter.org/projects/nftables/
36 endef
37
38 define Package/nftables/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(CP) $(PKG_BUILD_DIR)/src/nft $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,nftables))