void-packages/srcpkgs/mcelog/template

25 lines
681 B
Bash

# Template file for 'mcelog'
pkgname=mcelog
version=168
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=11c0f9ab9c97e12d912a51d2b4d2ee937378c5b08a3bb4e34214e0736c6fb7ef
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
}