3ea92117e5861f0d4dcbb1c1f0d7b3f8c2992a93
[openwrt/staging/chunkeey.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
19 PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/kernel.mk
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/bridge
25 SECTION:=net
26 CATEGORY:=Base system
27 TITLE:=Ethernet bridging configuration utility
28 DESCRIPTION:=\
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 CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)"
35
36 define Package/bridge/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
39 endef
40
41 $(eval $(call BuildPackage,bridge))