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 PKG_MD5SUM
:=0182fcac3a2b307113bbec34e5f1c673
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=Ethernet bridging configuration utility
25 URL
:=http
://bridge.sourceforge.net
/
28 define Package
/bridge
/description
29 Manage ethernet bridging
: a way to connect networks together to
30 form a larger network.
34 --with-linux-headers
="$(LINUX_DIR)" \
37 $(call Build
/Prepare
/Default
)
38 ( cd
$(PKG_BUILD_DIR
) ; \
39 [ -f .
/configure
] ||
{ \
40 ln
-sf configure.in configure.ac
; \
46 define Package
/bridge
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/brctl
/brctl
$(1)/usr
/sbin
/
51 $(eval
$(call BuildPackage
,bridge
))