fix version info for packages that either lack PKG_VERSION or PKG_RELEASE
[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 TITLE:=Ethernet bridge firewall administration utility
21 DESCRIPTION:=Ethernet Bridge Firewalling (ebtables)
22 URL:=http://ebtables.sourceforge.net/
23 endef
24
25 define Package/ebtables/install
26 install -d -m0755 $(1)/etc
27 install -m0644 $(PKG_BUILD_DIR)/ethertypes $(1)/etc/
28 install -d -m0755 $(1)/usr/sbin
29 install -m0755 $(PKG_BUILD_DIR)/ebtables $(1)/usr/sbin/
30 endef
31
32 $(eval $(call BuildPackage,ebtables))
This page took 0.041128 seconds and 5 git commands to generate.