remove Maintainer: and Source: from packages
[openwrt.git] / openwrt / 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 CFLAGS="$(TARGET_CFLAGS) -Wall -I$(PKG_BUILD_DIR)/include/linux/include -I$(PKG_BUILD_DIR)/include -DARPTABLES_VERSION=\\\"$(PKG_VERSION)\\\" "
25 touch $@
26
27 $(IPKG_ARPTABLES):
28 mkdir -p $(IDIR_ARPTABLES)/usr/sbin
29 cp $(PKG_BUILD_DIR)/arptables $(IDIR_ARPTABLES)/usr/sbin/
30 $(IPKG_BUILD) $(IDIR_ARPTABLES) $(PACKAGE_DIR)
This page took 0.03922 seconds and 5 git commands to generate.