From: Harvie Date: Sat, 14 Aug 2010 16:07:17 +0000 (+0200) Subject: Added mcelog package X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=f48ce126766f5b01dd8f6ce82cf14f92efae217d;p=mirrors%2FArchLinux-Packages.git Added mcelog package --- diff --git a/mcelog/PKGBUILD b/mcelog/PKGBUILD new file mode 100644 index 0000000..f7956da --- /dev/null +++ b/mcelog/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Thomas Mudrunka +# Maintainer: Thomas Mudrunka +# You can also contact me on http://blog.harvie.cz/ + +pkgname=mcelog +pkgver=1.0pre3 +pkgrel=1 +pkgdesc="Print machine check event log from x86-64 kernel" +url="http://freshmeat.net/projects/mcelog/" +license="GPL" +arch=('i686' 'x86_64') +depends=() +source=("ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/${pkgname}-${pkgver}.tar.gz") +md5sums=('b42f2214de6f4feb992556149edc67fa') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make + + mkdir -p ${pkgdir}/usr/bin/ + cp mcelog ${pkgdir}/usr/bin/ + cp mcelog.cron ${pkgdir}/usr/bin/ + + mkdir -p ${pkgdir}/etc/rc.d/ + cp mcelog.init ${pkgdir}/etc/rc.d/ + + chmod -R 755 ${pkgdir}/ +}