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