PKGBUILDs/core/ifenslave/PKGBUILD
2009-10-19 20:10:36 -05:00

21 lines
638 B
Bash

# Maintainer: Judd Vinet <jvinet@zeroflux.org>
pkgname=ifenslave
pkgver=1.1.0
pkgrel=4
pkgdesc="Utility for bonding ethernet interfaces"
license=('GPL2')
arch=('arm')
url="http://www.linuxfoundation.org/en/Net:Bonding"
depends=('glibc')
source=(ftp://ftp.archlinux.org/other/ifenslave/ifenslave.c
bonding.conf.d)
md5sums=('b0d8e4c97094155747cc9238f762c7aa'
'397fccbf574d5082c7a3c8d3793dc000')
build() {
cd $startdir/src
gcc $CFLAGS -I/usr/src/linux/include ifenslave.c -o ifenslave || return 1
install -D -m755 ifenslave $startdir/pkg/sbin/ifenslave
install -D -m644 bonding.conf.d $startdir/pkg/etc/conf.d/bonding
}