1 # Copyright (C) 2014 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_VERSION
:=0.3+2014-09-11
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
17 PKG_SOURCE_VERSION
:=ae355b89e7b74c28de753bf2878a8e189030ad47
18 PKG_MAINTAINER
:=Steven Barth
<steven@midlink.org
>
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/nftables
28 TITLE
:=nftables packet filtering userspace utility
29 DEPENDS
:=+kmod-nft-core
+kmod-nft-nat
+libnftnl
+libgmp
30 URL
:=http
://netfilter.org
/projects
/nftables
/
34 define Package
/nftables
/install
35 $(INSTALL_DIR
) $(1)/usr
/sbin
36 $(CP
) $(PKG_BUILD_DIR
)/src
/nft
$(1)/usr
/sbin
/
39 $(eval
$(call BuildPackage
,nftables
))