123456789101112131415161718192021222324252627282930 |
- # Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org>
- # Contributor (Arch): Judd Vinet <jvinet@zeroflux.org>
- # Maintainer: André Silva <emulatorman@hyperbola.info>
- # Contributor: Márcio Silva <coadde@hyperbola.info>
- pkgname=ifenslave
- pkgver=1.1.0
- pkgrel=10
- pkgdesc='Utility for bonding ethernet interfaces'
- url='https://wiki.linuxfoundation.org/networking/bonding'
- arch=('i686' 'x86_64')
- license=('GPL-2')
- depends=('glibc')
- makedepends=('linux-libre-lts-api-headers')
- source=(ifenslave.c::'https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/networking/ifenslave.c;h=450faacc'
- 'COPYING')
- sha512sums=('4cd60146f4019f74991978ace42059c020837ea6e9aeda245ebabc7995d95e87a34f5800e6be2b3bfda1b261d26770e9514ba5bd32e43d5a1eadc5c36f35655e'
- 'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957')
- build() {
- cd "${srcdir}"
- gcc -Wall -Wstrict-prototypes ${CFLAGS} ${LDFLAGS} ifenslave.c -o ifenslave
- }
- package() {
- cd "${srcdir}"
- install -Dm755 ifenslave "${pkgdir}"/sbin/ifenslave
- install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
- }
|