summaryrefslogtreecommitdiffstats
path: root/abs/extra/ifenslave/PKGBUILD
blob: 9747bc9dedddae94104095492883a865b9d5cb6a (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
# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=ifenslave
pkgver=1.1.0
pkgrel=8
pkgdesc='Utility for bonding ethernet interfaces'
url='http://www.linuxfoundation.org/en/Net:Bonding'
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('linux-api-headers')
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=450faacc')
sha1sums=('cf0ca36e4a82f259f4bd5d7268ce758581a76fb0')

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

package() {
	cd "${srcdir}"
	install -Dm755 ifenslave "${pkgdir}"/usr/bin/ifenslave
}