move package description to a separate definition, remove it when DESCRIPTION=TITLE
[openwrt-10.03/.git] / package / bridge-utils / 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 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=bridge-utils
13 PKG_VERSION:=1.0.6
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=@SF/bridge
18 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
19
20 include $(INCLUDE_DIR)/kernel.mk
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/bridge
24   SECTION:=net
25   CATEGORY:=Base system
26   TITLE:=Ethernet bridging configuration utility
27   URL:=http://bridge.sourceforge.net/
28 endef
29
30 define Package/bridge/description
31  Manage ethernet bridging: a way to connect networks together to 
32  form a larger network.
33 endef
34
35 CONFIGURE_ARGS += \
36         --with-linux-headers="$(LINUX_DIR)" \
37
38 define Package/bridge/install
39         $(INSTALL_DIR) $(1)/usr/sbin
40         $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,bridge))