diff --git a/srcpkgs/ifenslave/template b/srcpkgs/ifenslave/template index 578153ef86..1704c4ac0f 100644 --- a/srcpkgs/ifenslave/template +++ b/srcpkgs/ifenslave/template @@ -2,23 +2,18 @@ pkgname=ifenslave version=1.1.0 revision=3 -nofetch=yes -noextract=yes 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 -long_desc=" - This is a tool to attach and detach slave network interfaces to a bonding - device. A bonding device will act like a normal Ethernet network device to - the kernel, but will send out the packets via the slave devices using a - simple round-robin scheduler. This allows for simple load-balancing, - identical to channel bonding or trunking techniques used in switches. - The kernel must have support for bonding devices for ifenslave to be useful. - This package supports 2.6.x kernels and the most recent 2.4.x kernels." +nofetch=yes +noextract=yes do_build() { - gcc -Wall -Wstrict-prototypes ${FILESDIR}/ifenslave.c -o ifenslave + ${CC:-gcc} $CFLAGS $LDFLAGS -Wall -Wstrict-prototypes \ + ${FILESDIR}/ifenslave.c -o ifenslave } do_install() {