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