From f48ce126766f5b01dd8f6ce82cf14f92efae217d Mon Sep 17 00:00:00 2001 From: Harvie Date: Sat, 14 Aug 2010 18:07:17 +0200 Subject: [PATCH] Added mcelog package --- mcelog/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 mcelog/PKGBUILD 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}/ +} -- 2.30.2