rename patch
[openwrt-10.03/.git] / package / bridge-utils / Makefile
1
2 # Copyright (C) 2006-2008 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.4
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=@SF/bridge
18 PKG_MD5SUM:=0182fcac3a2b307113bbec34e5f1c673
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/bridge
23   SECTION:=net
24   CATEGORY:=Base system
25   TITLE:=Ethernet bridging configuration utility
26   URL:=http://bridge.sourceforge.net/
27 endef
28
29 define Package/bridge/description
30  Manage ethernet bridging: a way to connect networks together to 
31  form a larger network.
32 endef
33
34 CONFIGURE_ARGS += \
35         --with-linux-headers="$(LINUX_DIR)" \
36
37 define Build/Configure
38         (cd $(PKG_BUILD_DIR); \
39         autoconf; \
40         ./configure $(CONFIGURE_ARGS) \
41         )
42 endef
43
44 define Package/bridge/install
45         $(INSTALL_DIR) $(1)/usr/sbin
46         $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
47 endef
48
49 $(eval $(call BuildPackage,bridge))