move spca5xx from target/linux/package/ to package/,
[openwrt.git] / package / ebtables / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ebtables
6 PKG_VERSION:=2.0.8-rc2
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:=f07111fcc1966be669278433c35dcc28
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/lib/ebtables
29 install -m0755 $(PKG_BUILD_DIR)/lib*.so $(1)/usr/lib/
30 install -m0755 $(PKG_BUILD_DIR)/extensions/*.so $(1)/usr/lib/ebtables/
31 install -d -m0755 $(1)/usr/sbin
32 install -m0755 $(PKG_BUILD_DIR)/ebtables $(1)/usr/sbin/
33 install -m0755 $(PKG_BUILD_DIR)/ebtables-save $(1)/usr/sbin/
34 install -m0755 $(PKG_BUILD_DIR)/ebtables-restore $(1)/usr/sbin/
35 endef
36
37 $(eval $(call BuildPackage,ebtables))
This page took 0.041102 seconds and 5 git commands to generate.