port tor update in [2838] from whiterussian to trunk
[openwrt.git] / package / arptables / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=arptables
6 PKG_VERSION:=0.0.3
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=1672244603c8979577aa4738be35a759
9 PKG_SOURCE_URL:=@SF/ebtables
10 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
12 PKG_CAT:=zcat
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,ARPTABLES,arptables,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $@
20
21 $(PKG_BUILD_DIR)/.built:
22 $(MAKE) -C $(PKG_BUILD_DIR) \
23 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
24 COPT_FLAGS="$(TARGET_CFLAGS)" \
25 KERNEL_DIR="./include/linux"
26 touch $@
27
28 $(IPKG_ARPTABLES):
29 install -d -m0755 $(IDIR_ARPTABLES)/usr/sbin
30 install -m0755 $(PKG_BUILD_DIR)/arptables $(IDIR_ARPTABLES)/usr/sbin/
31 $(RSTRIP) $(IDIR_ARPTABLES)
32 $(IPKG_BUILD) $(IDIR_ARPTABLES) $(PACKAGE_DIR)
This page took 0.039998 seconds and 5 git commands to generate.