2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
11 PKG_NAME
:=bridge-utils
13 PKG_SOURCE_URL
:=@SF
/bridge
15 ifeq ($(CONFIG_LINUX_2_4
),y
)
17 PKG_MD5SUM
:=9b7dc52656f5cbec846a7ba3299f73bd
20 ifeq ($(CONFIG_LINUX_2_6
),y
)
22 PKG_MD5SUM
:=0182fcac3a2b307113bbec34e5f1c673
25 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
27 include $(INCLUDE_DIR
)/package.mk
32 TITLE
:=Ethernet bridging configuration utility
33 URL
:=http
://bridge.sourceforge.net
/
36 define Package
/bridge
/description
37 Manage ethernet bridging
: a way to connect networks together to
38 form a larger network.
42 --with-linux-headers
="$(LINUX_DIR)" \
45 $(call Build
/Prepare
/Default
)
46 ( cd
$(PKG_BUILD_DIR
) ; \
47 [ -f .
/configure
] ||
{ \
48 ln
-sf configure.in configure.ac
; \
54 define Package
/bridge
/install
55 $(INSTALL_DIR
) $(1)/usr
/sbin
56 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/brctl
/brctl
$(1)/usr
/sbin
/
59 $(eval
$(call BuildPackage
,bridge
))