Convert to new template
[openwrt-10.03/.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:=1
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 $(IDIR_DNSMASQ)/usr/sbin
28         install -m0755 $(PKG_BUILD_DIR)/ebtables $(IDIR_EBTABLES)/usr/sbin/ebtables
29         $(RSTRIP) $(IDIR_EBTABLES)
30         $(IPKG_BUILD) $(IDIR_EBTABLES) $(PACKAGE_DIR)
31 ended
32
33 $(eval $(call BuildPackage,ebtables))