[arch-commits] Commit in ifenslave/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Mon Apr 19 06:47:41 UTC 2010
Date: Monday, April 19, 2010 @ 02:47:41
Author: allan
Revision: 77953
upgpkg: ifenslave 1.1.0-5
last rebuild in 2008 and upstream recommends building against current kernel...
Modified:
ifenslave/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-19 06:25:37 UTC (rev 77952)
+++ PKGBUILD 2010-04-19 06:47:41 UTC (rev 77953)
@@ -1,21 +1,28 @@
# $Id$
-# Maintainer: Judd Vinet <jvinet at zeroflux.org>
+# Maintainer:
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
pkgname=ifenslave
pkgver=1.1.0
-pkgrel=4
+pkgrel=5
pkgdesc="Utility for bonding ethernet interfaces"
+arch=('i686' 'x86_64')
+url="http://www.linuxfoundation.org/en/Net:Bonding"
license=('GPL2')
-arch=(i686 x86_64)
-url="http://www.linuxfoundation.org/en/Net:Bonding"
depends=('glibc')
+makedepends=('kernel26-headers')
backup=('etc/conf.d/bonding')
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
+ cd $srcdir
+ gcc $CFLAGS -I/usr/src/linux-$(uname -r)/include ifenslave.c -o ifenslave
}
+
+package() {
+ cd $srcdir
+ install -Dm755 ifenslave $pkgdir/sbin/ifenslave
+ install -Dm644 bonding.conf.d $pkgdir/etc/conf.d/bonding
+}
More information about the arch-commits
mailing list