[ipset] Update ipset to version 3.2
[openwrt.git] / package / ipset / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 #
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=ipset
12 PKG_VERSION:=3.2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://ipset.netfilter.org
17 PKG_MD5SUM:=0fd83af3efae5f72f5e5b55d07582941
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ipset
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=@!TARGET_etrax @LINUX_2_6
25 TITLE:=Netfilter ip sets administration utility
26 URL:=http://ipset.netfilter.org/
27 endef
28
29 define Build/Compile
30 $(call Build/Compile/Default, \
31 COPT_FLAGS="$(TARGET_CFLAGS)" \
32 LDFLAGS="-rdynamic -static-libgcc" \
33 KERNEL_DIR="$(LINUX_DIR)" \
34 PREFIX="/usr" \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
36 binaries \
37 )
38 endef
39
40 define Package/ipset/install
41 $(MAKE) -C $(PKG_BUILD_DIR) \
42 DESTDIR="$(1)" \
43 PREFIX="/usr" \
44 binaries_install
45 rm -rf $(1)/usr/man
46 endef
47
48 $(eval $(call BuildPackage,ipset))
This page took 0.040408 seconds and 5 git commands to generate.