add missing dependency
[openwrt.git] / package / ebtables / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=ebtables
12 PKG_VERSION:=2.0.8-rc2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/ebtables
17 PKG_MD5SUM:=f07111fcc1966be669278433c35dcc28
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/ebtables
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=Ethernet bridge firewall administration utility
28 URL:=http://ebtables.sourceforge.net/
29 endef
30
31 define Package/ebtables/install
32 install -d -m0755 $(1)/etc
33 install -m0644 $(PKG_BUILD_DIR)/ethertypes $(1)/etc/
34 install -d -m0755 $(1)/usr/lib/ebtables
35 install -m0755 $(PKG_BUILD_DIR)/lib*.so $(1)/usr/lib/
36 install -m0755 $(PKG_BUILD_DIR)/extensions/*.so $(1)/usr/lib/ebtables/
37 install -d -m0755 $(1)/usr/sbin
38 install -m0755 $(PKG_BUILD_DIR)/ebtables $(1)/usr/sbin/
39 install -m0755 $(PKG_BUILD_DIR)/ebtables-save $(1)/usr/sbin/
40 install -m0755 $(PKG_BUILD_DIR)/ebtables-restore $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,ebtables))
This page took 0.04181 seconds and 5 git commands to generate.