void-packages/srcpkgs/ifenslave/template

27 lines
599 B
Text
Raw Normal View History

# Template file for 'ifenslave'
pkgname=ifenslave
version=1.1.0
2013-02-16 08:56:56 +00:00
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>"
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
2012-07-09 13:07:29 +00:00
do_build() {
${CC:-gcc} $CFLAGS $LDFLAGS -Wall -Wstrict-prototypes \
${FILESDIR}/ifenslave.c -o ifenslave
}
2012-07-09 13:07:29 +00:00
do_install() {
vinstall ifenslave 755 usr/sbin
vinstall ${FILESDIR}/ifenslave.8 755 usr/share/man/man8
}
ifenslave_package() {
pkg_install() {
vmove usr
}
}