blob: 3cf37fa71874eb33eed6ba5a74c0087d3d0a726a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 109605 2014-04-16 17:01:53Z anatolik $
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
# Contributor: Michael Eckert <michael.eckert@linuxmail.org>
# Contributor: Mathieu Pasquet <mathieui@mathieui.net>
pkgname=crash
pkgver=7.0.6
pkgrel=1
pkgdesc='Linux kernel crashdump analysis tool'
url='http://people.redhat.com/~anderson'
arch=(i686 x86_64)
license=(GPL)
depends=(xz ncurses zlib)
source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz)
sha256sums=('c347c44c9a69f914de2192b3b1ba48b9a6c5fcbd4e2de909d00d176f2ea0ed29')
prepare() {
cd crash-$pkgver
make gdb_unzip
sed -i '/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/' gdb-7.6/libiberty/configure
}
build() {
cd crash-$pkgver
make
}
package() {
cd crash-$pkgver
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
install crash "$pkgdir"/usr/bin/
install crash.8 "$pkgdir"/usr/share/man/man8/
}
|