updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / ksplice / PKGBUILD
blob1cab6482adea95e9e2357d21f3e60dd0ecec385a
1 # Maintainer: Ruan Wessels <ruan9422@gmail.com>
2 # Contributor: Benjamin Jorand <benjamin.jorand@gmail.com>
3 # Contributor: Jens Maucher <defcon@archlinux.us>
4 # Contributor: Emmanuel Gras <gras.emmanuel@gmail.com>
6 pkgname=ksplice
7 pkgver=0.9.9
8 pkgrel=2
9 pkgdesc="Update the Linux kernel without rebooting"
10 arch=('i686' 'x86_64')
11 url="http://www.ksplice.com/"
12 license=('GPL2')
13 source=(http://pkgs.fedoraproject.org/repo/pkgs/ksplice/ksplice-0.9.9-src.tar.gz/ceb4301c51d9b075731050b57d9ecd80/ksplice-0.9.9-src.tar.gz)
14 md5sums=('ceb4301c51d9b075731050b57d9ecd80')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
19   ./configure --prefix=/usr \
20       --with-libbfd=/usr/lib/libbfd.a \
21       --with-libiberty=/usr/lib/libiberty.a \
22       --libexecdir=/usr/lib/ksplice
24   # patch Makefile
25   sed 's/^LIBS = .*$/& -ldl/' -i Makefile 
26   make
29 package() {
30   cd $srcdir/$pkgname-$pkgver
31   make DESTDIR=$pkgdir install