# $Id$ PNAME="bridge-utils" PVER="1.5" PBUILD="r2" PCAT="net-misc" DESCRIPTION="Tools for configuring the Linux kernel 802.1d Ethernet Bridge." HOMEPAGE="http://linux-net.osdl.org/index.php/Bridge" DEPEND=">= virtual/glibc" SDEPEND=">= virtual/kernel-headers >= sys-dev/autoconf-4 >= sys-dev/automake-3" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( sourceforge://bridge/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2TARBALL="${PNAME}" UP2DATE="updatecmd_sourceforge bridge gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # create missing configure and co mautoreconf || die } src_compile() { cd ${SRCDIR} mconfigure --with-linux-headers=/usr/include || die mmake || die }