void-packages/srcpkgs/mcelog/template
2017-01-13 09:43:46 +01:00

23 lines
702 B
Bash

# Template file for 'mcelog'
pkgname=mcelog
version=147
revision=1
conf_files="/etc/mcelog/mcelog.conf"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
short_desc="Decode kernel machine check log on x86 machines"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://www.mcelog.org/"
distfiles="https://github.com/andikleen/${pkgname}/archive/v${version}.tar.gz"
checksum=f18c5c12a8c8addf56f66f0046a8f0c7ba262f48f95bf57abed8430df0eeebe6
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
}