#!/bin/bash source $(dirname $0)/global.sh PACKAGE=bridge-utils VERSION=1.4 DEP_DEV="autoconf" # dependencies during compilation DEP_RLS="" # dependencies at stable status # net-bridging is also needed but i dont know how to achive this here. AUTHOR="Stephen Hemminger, Lennert Buytenhek" LICENSE="GPL" HOMEPAGE=http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge DOWNLOAD_URL="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$VERSION/bridge-utils-$VERSION.tar.gz" ADDITIONAL_INFO="brctl is a commandline utility to control networkbridging" COMMENT="depends on net-bridging-\`uname -r\`.tcz" compile_bridge-utils () { set_cflags tce-load -wi compiletc $DEP_DEV cd wget -qO- $DOWNLOAD_URL | tar -${TARFLAGS}- cd $DIRNAME autoconf ./configure make $MAKE_J_FLAG make DESTDIR=$TMP_PKG install cd .. } package