vp-build/srcpkgs/ifenslave/template

18 lines
429 B
Bash

# Template file for 'ifenslave'
pkgname=ifenslave
version=1.1.0
revision=7
short_desc="Attach and detach slave interfaces to a bonding device"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.kernel.org"
do_build() {
${CC} ${CFLAGS} -fPIE ${LDFLAGS} -pie -Wall -Wstrict-prototypes \
${FILESDIR}/ifenslave.c -o ifenslave
}
do_install() {
vbin ifenslave
vman ${FILESDIR}/ifenslave.8
}