Commit | Line | Data |
---|---|---|
f48ce126 H |
1 | # Contributor: Thomas Mudrunka <harvie@@email..cz> |
2 | # Maintainer: Thomas Mudrunka <harvie@@email..cz> | |
3 | # You can also contact me on http://blog.harvie.cz/ | |
4 | ||
5 | pkgname=mcelog | |
6 | pkgver=1.0pre3 | |
7 | pkgrel=1 | |
8 | pkgdesc="Print machine check event log from x86-64 kernel" | |
9 | url="http://freshmeat.net/projects/mcelog/" | |
10 | license="GPL" | |
11 | arch=('i686' 'x86_64') | |
12 | depends=() | |
13 | source=("ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/${pkgname}-${pkgver}.tar.gz") | |
14 | md5sums=('b42f2214de6f4feb992556149edc67fa') | |
15 | ||
16 | build() { | |
17 | cd "${srcdir}/${pkgname}-${pkgver}" | |
18 | make | |
19 | ||
48d79788 H |
20 | mkdir -p ${pkgdir}/usr/sbin/ |
21 | cp mcelog ${pkgdir}/usr/sbin/ | |
22 | cp mcelog.cron ${pkgdir}/usr/sbin/ | |
f48ce126 H |
23 | |
24 | mkdir -p ${pkgdir}/etc/rc.d/ | |
48d79788 | 25 | cp mcelog.init ${pkgdir}/etc/rc.d/mcelog |
f48ce126 H |
26 | |
27 | chmod -R 755 ${pkgdir}/ | |
28 | } |