fix kernel-headers prepare (#949)
[openwrt.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 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/ipset
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=Netfilter ip sets administration utility
28 URL:=http://ipset.netfilter.org/
29 endef
30
31 define Build/Compile
32 $(call Build/Compile/Default, \
33 COPT_FLAGS="$(TARGET_CFLAGS)" \
34 KERNEL_DIR="$(LINUX_DIR)" \
35 )
36 endef
37
38 define Package/ipset/install
39 $(MAKE) -C $(PKG_BUILD_DIR) \
40 DESTDIR="$(1)" \
41 PREFIX="/usr" \
42 install
43 rm -rf $(1)/usr/man
44 endef
45
46 $(eval $(call BuildPackage,ipset))
This page took 0.040773 seconds and 5 git commands to generate.