summaryrefslogtreecommitdiff
path: root/core/ifenslave/PKGBUILD
blob: 32caed5b0ab080ae0e64d60758b30ce078984bb1 (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: PKGBUILD 186263 2013-05-23 06:41:01Z bisson $
# 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
}