# Template file for 'mcelog' pkgname=mcelog version=124 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 " license="GPL-2" homepage="http://www.mcelog.org/" distfiles="https://github.com/andikleen/${pkgname}/archive/v${version}.tar.gz" checksum=5852f9b64b770241bf9213904205b4c5c7721952d85f2a15c2af6fc871f49c1a 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 }