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