2009-12-29 23:27:55 +01:00
|
|
|
# Template file for 'ifenslave'
|
|
|
|
pkgname=ifenslave
|
|
|
|
version=1.1.0
|
2013-02-16 09:56:56 +01:00
|
|
|
revision=4
|
2009-12-08 17:19:26 +01:00
|
|
|
short_desc="Attach and detach slave interfaces to a bonding device"
|
2013-02-16 09:55:55 +01:00
|
|
|
homepage="http://www.kernel.org"
|
|
|
|
license="GPL-2"
|
2009-12-29 23:27:55 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
|
2009-12-08 17:19:26 +01:00
|
|
|
|
2013-02-16 09:55:55 +01:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
2009-12-08 17:19:26 +01:00
|
|
|
|
2012-07-09 15:07:29 +02:00
|
|
|
do_build() {
|
2013-02-16 09:55:55 +01:00
|
|
|
${CC:-gcc} $CFLAGS $LDFLAGS -Wall -Wstrict-prototypes \
|
|
|
|
${FILESDIR}/ifenslave.c -o ifenslave
|
2010-01-16 03:13:07 +01:00
|
|
|
}
|
|
|
|
|
2012-07-09 15:07:29 +02:00
|
|
|
do_install() {
|
|
|
|
vinstall ifenslave 755 usr/sbin
|
|
|
|
vinstall ${FILESDIR}/ifenslave.8 755 usr/share/man/man8
|
2009-12-08 17:19:26 +01:00
|
|
|
}
|
2013-04-12 16:39:50 +02:00
|
|
|
|
|
|
|
ifenslave_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|