23 lines
716 B
Bash
23 lines
716 B
Bash
# Template file for 'mcelog'
|
|
pkgname=mcelog
|
|
version=142
|
|
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="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=f4d044207ca6a811c5a43edada39ea9e34c8fffeecc5e9c92d3e0330a2429bd6
|
|
|
|
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
|
|
}
|