void-packages/srcpkgs/bridge-utils/template

19 lines
614 B
Bash

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