summaryrefslogtreecommitdiff
path: root/core/ifenslave/PKGBUILD
blob: 767fddecf4d9ee854c198816a9fb9e6dedff02c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 108480 2011-01-31 14:27:02Z dan $
# Maintainer: 
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=ifenslave
pkgver=1.1.0
pkgrel=6
pkgdesc="Utility for bonding ethernet interfaces"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.linuxfoundation.org/en/Net:Bonding"
license=('GPL2')
depends=('glibc')
makedepends=('linux-api-headers')
backup=('etc/conf.d/bonding')
source=(ifenslave.c::'http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/networking/ifenslave.c;h=2bac96'
        bonding.conf.d)
md5sums=('41a23dc9ac3522ac2af23396ba70bcc4'
         '397fccbf574d5082c7a3c8d3793dc000')

build() {
  cd $srcdir
  gcc -Wall -Wstrict-prototypes $CFLAGS $LDFLAGS ifenslave.c -o ifenslave
}

package() {
  cd $srcdir
  install -Dm755 ifenslave $pkgdir/sbin/ifenslave
  install -Dm644 bonding.conf.d $pkgdir/etc/conf.d/bonding
}