add support for 16 bit pcmcia cards
[openwrt/staging/chunkeey.git] / package / ipset / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8 #
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=ipset
12 PKG_VERSION:=2.2.3
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
16 PKG_SOURCE_URL:=http://ipset.netfilter.org
17 PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ipset
22 SECTION:=net
23 CATEGORY:=Network
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 )
33 endef
34
35 define Package/ipset/install
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 DESTDIR="$(1)" \
38 PREFIX="/usr" \
39 install
40 rm -rf $(1)/usr/man
41 endef
42
43 $(eval $(call BuildPackage,ipset))