nftables: remove date from version
[openwrt/openwrt.git] / package / network / utils / nftables / Makefile
1 # Copyright (C) 2015 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.7
11 PKG_RELEASE:=1
12
13 PKG_SOURCE_URL:=git://git.netfilter.org/nftables
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_VERSION:=79cbd19e7437680561b26109bbf4f48cb2e8e0a7
16 PKG_MIRROR_HASH:=6b06a114c5a1b397b0ae616d5d292859611b0eb05b647182b3c00421909338b8
17 PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
18 PKG_LICENSE:=GPL-2.0
19
20 PKG_FIXUP:=autoreconf
21
22 include $(INCLUDE_DIR)/package.mk
23
24 CONFIGURE_ARGS += \
25 --with-mini-gmp \
26 --without-cli \
27
28 define Package/nftables
29 SECTION:=net
30 CATEGORY:=Network
31 SUBMENU:=Firewall
32 TITLE:=nftables packet filtering userspace utility
33 DEPENDS:=+kmod-nft-core +kmod-nft-nat +libnftnl
34 URL:=http://netfilter.org/projects/nftables/
35 endef
36
37 define Package/nftables/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(CP) $(PKG_BUILD_DIR)/src/nft $(1)/usr/sbin/
40 endef
41
42 $(eval $(call BuildPackage,nftables))