2009-12-29 22:27:55 +00:00
|
|
|
# Template file for 'ifenslave'
|
|
|
|
pkgname=ifenslave
|
|
|
|
version=1.1.0
|
2013-02-16 08:56:56 +00:00
|
|
|
revision=4
|
2009-12-08 16:19:26 +00:00
|
|
|
short_desc="Attach and detach slave interfaces to a bonding device"
|
2013-02-16 08:55:55 +00:00
|
|
|
homepage="http://www.kernel.org"
|
|
|
|
license="GPL-2"
|
2009-12-29 22:27:55 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-12-08 16:19:26 +00:00
|
|
|
|
2013-10-27 08:48:38 +00:00
|
|
|
do_fetch() {
|
|
|
|
mkdir ${wrksrc}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_extract() {
|
|
|
|
:
|
|
|
|
}
|
2009-12-08 16:19:26 +00:00
|
|
|
|
2012-07-09 13:07:29 +00:00
|
|
|
do_build() {
|
2013-02-16 08:55:55 +00:00
|
|
|
${CC:-gcc} $CFLAGS $LDFLAGS -Wall -Wstrict-prototypes \
|
|
|
|
${FILESDIR}/ifenslave.c -o ifenslave
|
2010-01-16 02:13:07 +00:00
|
|
|
}
|
|
|
|
|
2012-07-09 13:07:29 +00:00
|
|
|
do_install() {
|
|
|
|
vinstall ifenslave 755 usr/sbin
|
|
|
|
vinstall ${FILESDIR}/ifenslave.8 755 usr/share/man/man8
|
2009-12-08 16:19:26 +00:00
|
|
|
}
|