e5e7c63f661e151b5ed549085850d4cc28769534
[openwrt/staging/dedeckeh.git] / openwrt / package / bridge / 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:=bridge
12 PKG_VERSION:=1.0.6
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
16 PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=@SF/bridge
18 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
19 PKG_CAT:=zcat
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/bridge
24 SECTION:=base
25 CATEGORY:=Network
26 DEFAULT:=y
27 TITLE:=Ethernet bridging configuration utility
28 DESCRIPTION:=Ethernet bridging configuration utility\\\
29 Manage ethernet bridging; a way to connect networks together to\\\
30 form a larger network.
31 URL:=http://bridge.sourceforge.net/
32 endef
33
34 define Build/Configure
35 $(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
36 endef
37
38 define Package/bridge/install
39 install -m0755 -d $(1)/usr/sbin
40 install -m0755 $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,bridge))