2015-02-02 22:27:01 +01:00
|
|
|
# Template file for 'mcelog'
|
|
|
|
pkgname=mcelog
|
2015-04-30 11:12:26 +02:00
|
|
|
version=117
|
2015-05-12 21:32:58 +02:00
|
|
|
revision=2
|
2015-04-23 11:23:24 +02:00
|
|
|
build_pie=yes
|
2015-02-03 08:24:04 +01:00
|
|
|
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-04-30 11:12:26 +02:00
|
|
|
checksum=0e0422e8693e4592a85ed344738004dcedcd930234ab862b0bdcb6ae7aa44f2b
|
2015-02-02 22:27:01 +01:00
|
|
|
|
2015-04-23 11:23:24 +02: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
|
2015-04-23 11:23:24 +02:00
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
2015-02-02 22:27:01 +01:00
|
|
|
mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin
|
|
|
|
vsv mcelog
|
|
|
|
}
|