void-packages/srcpkgs/mcelog/template

25 lines
730 B
Bash
Raw Normal View History

2015-02-02 22:27:01 +01:00
# Template file for 'mcelog'
pkgname=mcelog
2015-07-29 10:46:52 +02:00
version=122
2015-06-04 19:50:20 +02:00
revision=1
build_pie=yes
conf_files="/etc/mcelog/mcelog.conf"
2015-03-23 11:01:10 +01:00
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
2015-02-02 22:27:01 +01:00
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"
2015-07-29 10:46:52 +02:00
checksum=bfdffa82044a4e712ee9570b737169d900bbf53b0a1ea4c9a244b327f8987107
2015-02-02 22:27:01 +01:00
do_build() {
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS" ${makejobs}
}
do_install() {
2015-03-13 13:39:40 +01:00
vmkdir usr/share/man/man5
vmkdir usr/share/man/man8
make PREFIX=/usr DESTDIR=${DESTDIR} install
2015-02-02 22:27:01 +01:00
mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin
vsv mcelog
}