void-packages/srcpkgs/mcelog/template
2015-06-13 19:46:53 +02:00

24 lines
730 B
Bash

# Template file for 'mcelog'
pkgname=mcelog
version=120
revision=1
build_pie=yes
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="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.mcelog.org/"
distfiles="https://github.com/andikleen/${pkgname}/archive/v${version}.tar.gz"
checksum=bc4704bf5b0563a5e1d71b687d28a3ed38e7975bf849f77bbabae15f23f1990a
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
}