Added mcelog package
authorHarvie <tomas@mudrunka.cz>
Sat, 14 Aug 2010 16:07:17 +0000 (18:07 +0200)
committerHarvie <tomas@mudrunka.cz>
Sat, 14 Aug 2010 16:07:17 +0000 (18:07 +0200)
mcelog/PKGBUILD [new file with mode: 0644]

diff --git a/mcelog/PKGBUILD b/mcelog/PKGBUILD
new file mode 100644 (file)
index 0000000..f7956da
--- /dev/null
@@ -0,0 +1,28 @@
+# Contributor: Thomas Mudrunka <harvie@@email..cz>
+# Maintainer: Thomas Mudrunka <harvie@@email..cz>
+# 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}/
+}
This page took 0.112748 seconds and 4 git commands to generate.