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.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
12 PKG_NAME
:=bridge-utils
14 PKG_SOURCE_URL
:=@SF
/bridge
16 ifeq ($(CONFIG_LINUX_2_4
),y
)
18 PKG_MD5SUM
:=9b7dc52656f5cbec846a7ba3299f73bd
21 ifeq ($(CONFIG_LINUX_2_6
),y
)
23 PKG_MD5SUM
:=0182fcac3a2b307113bbec34e5f1c673
26 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
28 include $(INCLUDE_DIR
)/package.mk
33 TITLE
:=Ethernet bridging configuration utility
34 URL
:=http
://bridge.sourceforge.net
/
37 define Package
/bridge
/description
38 Manage ethernet bridging
: a way to connect networks together to
39 form a larger network.
43 --with-linux-headers
="$(LINUX_DIR)" \
45 define Build
/Configure
46 (cd
$(PKG_BUILD_DIR
); \
47 [ "$(PKG_VERSION)" = "1.0.6" ] || ln
-s configure.in configure.ac
; \
49 .
/configure
$(CONFIGURE_ARGS
) \
53 define Package
/bridge
/install
54 $(INSTALL_DIR
) $(1)/usr
/sbin
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/brctl
/brctl
$(1)/usr
/sbin
/
58 $(eval
$(call BuildPackage
,bridge
))