void-packages/srcpkgs/ifenslave/template

27 lines
521 B
Plaintext

# Template file for 'ifenslave'
pkgname=ifenslave
version=1.1.0
revision=4
short_desc="Attach and detach slave interfaces to a bonding device"
homepage="http://www.kernel.org"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
do_fetch() {
mkdir ${wrksrc}
}
do_extract() {
:
}
do_build() {
${CC:-gcc} $CFLAGS $LDFLAGS -Wall -Wstrict-prototypes \
${FILESDIR}/ifenslave.c -o ifenslave
}
do_install() {
vinstall ifenslave 755 usr/sbin
vinstall ${FILESDIR}/ifenslave.8 755 usr/share/man/man8
}