crash: add lzo support.

This commit is contained in:
Christian Neukirchen 2015-02-26 17:58:06 +01:00
parent fe5d5aae7b
commit 53f1f9b328

View file

@ -1,10 +1,10 @@
# Template file for 'crash'
pkgname=crash
version=7.1.0
revision=1
revision=2
build_style=gnu-makefile
hostmakedepends="flex"
makedepends="ncurses-devel zlib-devel"
makedepends="ncurses-devel zlib-devel lzo-devel"
short_desc="Kernel crash dump debugger and live inspector"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
@ -16,11 +16,11 @@ nocross=yes
post_extract() {
sed -i 's|arch|uname -a|g' extensions/snap.mk
sed -i 's|/usr/lib/debug/lib/modules|/usr/lib/debug/usr/lib/modules|g' defs.h
sed -i 's|/boot/efi/redhat|/usr/lib/debug/boot/|g' filesys.c
sed -i 's|/boot/efi/redhat|/usr/lib/debug/boot/|g' filesys.c
}
do_build() {
make ${makejobs}
make ${makejobs} lzo
make ${makejobs} extensions
}