standardize Makefile, change section from base to net and category to "base system"
[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_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:=net
25   CATEGORY:=Base system
26   DEFAULT:=y
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 define Build/Configure
35         $(call Build/Configure/Default, \
36                 --with-linux-headers="$(LINUX_DIR)" \
37         )
38 endef
39
40 define Package/bridge/install
41         install -m0755 -d $(1)/usr/sbin
42         install -m0755 $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
43 endef
44
45 $(eval $(call BuildPackage,bridge))