mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
21 lines
690 B
Bash
21 lines
690 B
Bash
# $Id: PKGBUILD 12836 2008-09-21 14:41:26Z dan $
|
|
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
|
|
pkgname=ifenslave
|
|
pkgver=1.1.0
|
|
pkgrel=5
|
|
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
|
|
}
|