blob: 291dfc230d2be13f6f40ed7c0d71882b9f67017a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/mcelog-0.8_pre1.ebuild,v 1.8 2008/02/22 19:41:55 robbat2 Exp $
inherit eutils
MY_PV="${PV/_pre1/pre}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
HOMEPAGE="ftp://ftp.x86-64.org/pub/linux/tools/mcelog/"
SRC_URI="ftp://ftp.x86-64.org/pub/linux/tools/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
# Not ready for prime-time
#KEYWORDS="~amd64 ~x86"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="virtual/cron"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-timestamp-mcelog.patch
}
src_install() {
dosbin mcelog dbquery
doman mcelog.8
exeinto /etc/cron.daily
newexe mcelog.cron mcelog
insinto /etc/logrotate.d/
newins mcelog.logrotate mcelog
dodoc CHANGES README TODO *.pdf
}
|