26 lines
703 B
Bash
26 lines
703 B
Bash
# Template file for 'mcelog'
|
|
pkgname=mcelog
|
|
version=201
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
hostmakedepends="python3"
|
|
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/mcelog/archive/v${version}.tar.gz"
|
|
checksum=635a2bdce0801fc67f4c5df901daec6d3843226801615d809e56d9f3759ccbe9
|
|
|
|
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
|
|
}
|