void-packages/srcpkgs/mcelog/template

24 lines
651 B
Bash

# Template file for 'mcelog'
pkgname=mcelog
version=114
revision=1
conf_files="/etc/mcelog/mcelog.conf"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-makefile
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=c54ef3274d9b2472647fadf98d6128b6823f1101dd3f351b2451d4464e6ab35a
pre_install() {
vmkdir usr/share/man/man5
vmkdir usr/share/man/man8
}
post_install() {
mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin
vsv mcelog
}