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

contributors="Pierre B, tnut"
packager="spiky <spiky@nutyx.org>"

makedepends=(autoconf)
 
name=bridge-utils
version=1.7.1

runyx_version=20201011

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

build() {
cd $name-$version

autoconf

./configure --prefix=/usr

make

make DESTDIR=$PKG install

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