# Template file for 'bridge-utils'
pkgname=bridge-utils
version=1.4
distfiles="${SOURCEFORGE_SITE}/bridge/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Layer2 ethernet bridging for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=876975e9bcc302aa8b829161ea3348b12b9b879f1db0dc98feaed8d0e5dd5933
long_desc="
 A bridge is a way to connect two Ethernet segments together in a
 protocol independent way. Packets are forwarded based on Ethernet address,
 rather than IP address (like a router). Since forwarding is done at Layer 2,
 all procols can go transparently through a bridge.

 The Linux bridge code implements a subset of the ANSI/IEEE 802.1d standard."

Add_dependency run glibc
Add_dependency build automake

pre_configure()
{
	cd ${wrksrc} && autoreconf -vi || return 1
}

post_install()
{
	# We are only interested on brctl!
	rm -rf ${DESTDIR}/usr/include
	rm -rf ${DESTDIR}/usr/lib
}
