void-packages/srcpkgs/ifenslave/template

27 lines
531 B
Plaintext
Raw Normal View History

# Template file for 'ifenslave'
pkgname=ifenslave
version=1.1.0
2014-06-05 08:50:30 +00:00
revision=5
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>"
2013-10-27 08:48:38 +00:00
do_fetch() {
mkdir ${wrksrc}
}
do_extract() {
:
}
2012-07-09 13:07:29 +00:00
do_build() {
2014-06-05 08:50:30 +00:00
${CC} ${CFLAGS} -fPIE ${LDFLAGS} -pie -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
}