brcm47xx: update bcma and ssb to master-2011-07-21
[openwrt.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
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=bridge-utils
12 PKG_RELEASE:=1
13 PKG_SOURCE_URL:=@SF/bridge
14 PKG_VERSION:=1.4
15 PKG_MD5SUM:=0182fcac3a2b307113bbec34e5f1c673
16
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/bridge
22 SECTION:=net
23 CATEGORY:=Base system
24 TITLE:=Ethernet bridging configuration utility
25 URL:=http://bridge.sourceforge.net/
26 endef
27
28 define Package/bridge/description
29 Manage ethernet bridging: a way to connect networks together to
30 form a larger network.
31 endef
32
33 CONFIGURE_ARGS += \
34 --with-linux-headers="$(LINUX_DIR)" \
35
36 define Build/Prepare
37 $(call Build/Prepare/Default)
38 ( cd $(PKG_BUILD_DIR) ; \
39 [ -f ./configure ] || { \
40 ln -sf configure.in configure.ac ; \
41 autoconf ; \
42 } \
43 )
44 endef
45
46 define Package/bridge/install
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
49 endef
50
51 $(eval $(call BuildPackage,bridge))
This page took 0.054757 seconds and 5 git commands to generate.