core/ifenslave/PKGBUILD

29 lines
782 B
Bash
Raw Normal View History

2010-05-16 23:08:55 +08:00
# $Id: PKGBUILD 77953 2010-04-19 06:47:41Z allan $
# Maintainer:
# Contributor: Judd Vinet <jvinet@zeroflux.org>
2010-03-13 23:25:19 +08:00
pkgname=ifenslave
pkgver=1.1.0
2010-05-16 23:08:55 +08:00
pkgrel=5
2010-03-13 23:25:19 +08:00
pkgdesc="Utility for bonding ethernet interfaces"
2010-05-16 23:08:55 +08:00
arch=('i686' 'x86_64')
2010-03-13 23:25:19 +08:00
url="http://www.linuxfoundation.org/en/Net:Bonding"
2010-05-16 23:08:55 +08:00
license=('GPL2')
2010-03-13 23:25:19 +08:00
depends=('glibc')
2010-05-16 23:08:55 +08:00
makedepends=('kernel26-headers')
backup=('etc/conf.d/bonding')
source=(ftp://ftp.archlinux.org/other/ifenslave/ifenslave.c bonding.conf.d)
2010-03-13 23:25:19 +08:00
md5sums=('b0d8e4c97094155747cc9238f762c7aa'
'397fccbf574d5082c7a3c8d3793dc000')
build() {
2010-05-16 23:08:55 +08:00
cd $srcdir
gcc $CFLAGS -I/usr/src/linux-$(uname -r)/include ifenslave.c -o ifenslave
}
package() {
cd $srcdir
install -Dm755 ifenslave $pkgdir/sbin/ifenslave
install -Dm644 bonding.conf.d $pkgdir/etc/conf.d/bonding
2010-03-13 23:25:19 +08:00
}