mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
30 lines
1 KiB
Bash
30 lines
1 KiB
Bash
# $Id: PKGBUILD 29405 2009-03-08 15:50:59Z tpowa $
|
|
# Contributor: Camille Moncelier <pix@devlife.org>, simo <simo@archlinux.org>
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=kexec-tools
|
|
pkgver=2.0.0
|
|
pkgrel=1
|
|
pkgdesc="Load another kernel from the currently executing Linux kernel"
|
|
arch=(i686 x86_64)
|
|
url="http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/"
|
|
source=(http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools-2.0.0.tar.bz2
|
|
kexec kexec.conf.d)
|
|
depends=('zlib' 'awk')
|
|
backup=('etc/conf.d/kexec')
|
|
license=('GPL2')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
mv $pkgdir/usr/sbin $pkgdir/sbin
|
|
|
|
install -D -m644 kexec/kexec.8 $pkgdir/usr/share/man/man8/kexec.8
|
|
install -D -m644 $srcdir/kexec.conf.d $pkgdir/etc/conf.d/kexec
|
|
install -D -m755 $srcdir/kexec $pkgdir/etc/rc.d/kexec
|
|
}
|
|
md5sums=('d9f2ecd3c3307905f24130a25816e6cc'
|
|
'b9ddfb9fbcc7e4e7e7294fe94fa60aeb')
|