From 94b01cec1876cd5d0dfd2a03baaf65be2bf62f61 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 8 Dec 2009 16:43:07 +0100 Subject: [PATCH] Added bridge-utils-1.4 build template. --HG-- extra : convert_revision : d8f1dfd31b3b6b398a1741829ab6e827862584ee --- srcpkgs/bridge-utils/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/bridge-utils/template diff --git a/srcpkgs/bridge-utils/template b/srcpkgs/bridge-utils/template new file mode 100644 index 00000000000..ed8c4f1be6a --- /dev/null +++ b/srcpkgs/bridge-utils/template @@ -0,0 +1,30 @@ +# 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 " +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 full glibc +Add_dependency build autoconf + +pre_configure() +{ + cd ${wrksrc} && aclocal && autoconf || return 1 +} + +post_install() +{ + # We are only interested on brctl! + rm -rf ${DESTDIR}/usr/include + rm -rf ${DESTDIR}/usr/lib +}