add an abs2rel.pl helper script (returns a path relative to another)
[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.9a
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20061009.tar.bz2
16 PKG_SOURCE_URL:=http://ipset.netfilter.org
17 PKG_MD5SUM:=74ce3226b30cdd386630250bdc3488ef
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ipset
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=@!LINUX_2_6_ETRAX
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 KERNEL_DIR="$(LINUX_DIR)" \
33 PREFIX="/usr" \
34 )
35 endef
36
37 define Package/ipset/install
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 DESTDIR="$(1)" \
40 PREFIX="/usr" \
41 install
42 rm -rf $(1)/usr/man
43 endef
44
45 $(eval $(call BuildPackage,ipset))
This page took 0.047234 seconds and 5 git commands to generate.