madwifi: fix antenna selection for ubnt loco2/loco5
[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
15 ifeq ($(CONFIG_LINUX_2_4),y)
16 PKG_VERSION:=1.0.6
17 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
18 endif
19
20 ifeq ($(CONFIG_LINUX_2_6),y)
21 PKG_VERSION:=1.4
22 PKG_MD5SUM:=0182fcac3a2b307113bbec34e5f1c673
23 endif
24
25 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
26
27 include $(INCLUDE_DIR)/package.mk
28
29 define Package/bridge
30 SECTION:=net
31 CATEGORY:=Base system
32 TITLE:=Ethernet bridging configuration utility
33 URL:=http://bridge.sourceforge.net/
34 endef
35
36 define Package/bridge/description
37 Manage ethernet bridging: a way to connect networks together to
38 form a larger network.
39 endef
40
41 CONFIGURE_ARGS += \
42 --with-linux-headers="$(LINUX_DIR)" \
43
44 define Build/Prepare
45 $(call Build/Prepare/Default)
46 ( cd $(PKG_BUILD_DIR) ; \
47 [ -f ./configure ] || { \
48 ln -sf configure.in configure.ac ; \
49 autoconf ; \
50 } \
51 )
52 endef
53
54 define Package/bridge/install
55 $(INSTALL_DIR) $(1)/usr/sbin
56 $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
57 endef
58
59 $(eval $(call BuildPackage,bridge))
This page took 0.048262 seconds and 5 git commands to generate.