description="Utilities for configuring the Linux Ethernet bridge"
url="http://sourceforge.net/projects/bridge/"

contributors="Pierre B"
packager="tnut <tnut@nutyx.org>"
 
name=bridge-utils
version=1.6
release=4

runyx_version=20200412

source=(http://downloads.tuxfamily.org/nutyx/files/runyx-${runyx_version}.tar.xz
	http://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz)

build() {
cd $name-$version

autoconf

./configure --prefix=/usr

make

make DESTDIR=$PKG install

mv $PKG/usr/sbin $PKG/sbin

# service
cd ../runyx-${runyx_version}
make DESTDIR=$PKG -C services/sysv install-service-bridge
}
