void-packages/srcpkgs/mcelog/template
2018-06-09 20:07:16 +02:00

24 lines
767 B
Bash

# Template file for 'mcelog'
pkgname=mcelog
version=159
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.0-only"
homepage="http://www.mcelog.org/"
#changelog="https://github.com/andikleen/mcelog/releases"
distfiles="https://github.com/andikleen/${pkgname}/archive/v${version}.tar.gz"
checksum=f38d6a774d14c665a6bb0d5b12efa41f2cea599af5eda36c7adce39e6ec92643
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
}