use InstallDev/UninstallDev.
[openwrt.git] / package / ebtables / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ebtables
6 PKG_VERSION:=2.0.6
7 PKG_RELEASE:=2
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
10 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
11 PKG_SOURCE_URL:=@SF/ebtables
12 PKG_MD5SUM:=c4559af2366c764c6c42a3fdd40d60d3
13 PKG_CAT:=zcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 define Package/ebtables
18 SECTION:=base
19 CATEGORY:=Network
20 DEFAULT:=y
21 TITLE:=Ethernet bridge firewall administration utility
22 DESCRIPTION:=Ethernet Bridge Firewalling (ebtables)
23 URL:=http://ebtables.sourceforge.net/
24 endef
25
26 define Package/ebtables/install
27 install -d -m0755 $(1)/etc
28 install -m0644 $(PKG_BUILD_DIR)/ethertypes $(1)/etc/
29 install -d -m0755 $(1)/usr/sbin
30 install -m0755 $(PKG_BUILD_DIR)/ebtables $(1)/usr/sbin/
31 endef
32
33 $(eval $(call BuildPackage,ebtables))
This page took 0.043171 seconds and 5 git commands to generate.