24 lines
681 B
Bash
24 lines
681 B
Bash
# Template file for 'mcelog'
|
|
pkgname=mcelog
|
|
version=166
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
conf_files="/etc/mcelog/mcelog.conf"
|
|
short_desc="Decode kernel machine check log on x86 machines"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://www.mcelog.org/"
|
|
distfiles="https://github.com/andikleen/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=f717b7bd725a2573e9d1556d3543cb385f1c9fa68fe682f1bc93952b726eedb4
|
|
|
|
do_build() {
|
|
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS" ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/share/man/man5
|
|
vmkdir usr/share/man/man8
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin
|
|
vsv mcelog
|
|
}
|