the bison prereq check is no longer necessary
[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
10 PKG_NAME:=ipset
11 PKG_VERSION:=2.3.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20070828.tar.bz2
15 PKG_SOURCE_URL:=http://ipset.netfilter.org
16 PKG_MD5SUM:=9e17798dfd8ed87c63a1f3498f9fe64d
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/ipset
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=@!TARGET_etrax @LINUX_2_6
24 TITLE:=Netfilter ip sets administration utility
25 URL:=http://ipset.netfilter.org/
26 endef
27
28 define Build/Compile
29 $(call Build/Compile/Default, \
30 COPT_FLAGS="$(TARGET_CFLAGS)" \
31 KERNEL_DIR="$(LINUX_DIR)" \
32 PREFIX="/usr" \
33 )
34 endef
35
36 define Package/ipset/install
37 $(MAKE) -C $(PKG_BUILD_DIR) \
38 DESTDIR="$(1)" \
39 PREFIX="/usr" \
40 install
41 rm -rf $(1)/usr/man
42 endef
43
44 $(eval $(call BuildPackage,ipset))
This page took 0.04169 seconds and 5 git commands to generate.