upgrade madwifi to r1416-20060126, unite madwifi-tools and kmod-madwifi (madwifi...
[openwrt.git] / openwrt / package / ipset / Makefile
1 # $Id$
2 #
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ipset
6 PKG_VERSION:=2.2.3
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
9
10 PKG_SOURCE_URL:=http://ipset.netfilter.org
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
12 PKG_BUILD_DIR:=$(BUILD_DIR)/ipset-$(PKG_VERSION)
13 PKG_CAT:=bzcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 $(eval $(call PKG_template,IPSET,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(MAKE) -C $(PKG_BUILD_DIR) \
24 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
25 CFLAGS="$(TARGET_CFLAGS) -Wall -I$(LINUX_DIR)/include -I." \
26 KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr
27 touch $@
28
29 $(IPKG_IPSET):
30 $(MAKE) -C $(PKG_BUILD_DIR) \
31 DESTDIR=$(IDIR_IPSET) PREFIX=/usr install
32 rm -rf $(IDIR_IPSET)/usr/man
33 $(IPKG_BUILD) $(IDIR_IPSET) $(PACKAGE_DIR)
34
This page took 0.043129 seconds and 5 git commands to generate.