summaryrefslogtreecommitdiffstats
path: root/abs/extra/ifenslave/PKGBUILD
blob: 8a75170f279ddd55ec17f9ccdb4f24d7c4f5fec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: PKGBUILD 12836 2008-09-21 14:41:26Z dan $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
pkgname=ifenslave
pkgver=1.1.0
pkgrel=4
pkgdesc="Utility for bonding ethernet interfaces"
license=('GPL2')
arch=(i686 x86_64)
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
}