force pcmcia-cs reconfiguration when the kernel configuration changes
[openwrt.git] / package / arptables / Makefile
1 # Copyright (C) 2006 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6 # $Id$
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=arptables
11 PKG_VERSION:=0.0.3-2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/ebtables
16 PKG_MD5SUM:=283d19292bd99913dc3a42842826c286
17 PKG_CAT:=zcat
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/arptables
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=ARP firewalling software
27 DEPENDS:=+kmod-arptables
28 URL:=http://ebtables.sourceforge.net
29 endef
30
31 define Build/Compile
32 $(MAKE) -C $(PKG_BUILD_DIR) \
33 $(TARGET_CONFIGURE_OPTS) \
34 COPT_FLAGS="$(TARGET_CFLAGS)" \
35 KERNEL_DIR="./include/linux"
36 endef
37
38 define Package/arptables/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,arptables))
This page took 0.03819 seconds and 5 git commands to generate.