void-packages/srcpkgs/bridge-utils/template

20 lines
607 B
Bash

# Template file for 'bridge-utils'
pkgname=bridge-utils
version=1.5
revision=10
build_style=gnu-configure
hostmakedepends="automake"
short_desc="Layer2 ethernet bridging for Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
distfiles="${SOURCEFORGE_SITE}/bridge/$pkgname-$version.tar.gz"
checksum=42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688
configure_args="--sbindir=/usr/bin"
nopie=yes
pre_configure() {
sed "s/u_int\([0-9]*\)_t/uint\1_t/" -i libbridge/libbridge.h
autoreconf -fi
}