summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild')
-rw-r--r--app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild b/app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild
index 7c32afc16ea2..9583d9b1f88f 100644
--- a/app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild
+++ b/app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild
@@ -1,14 +1,15 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild,v 1.1 2013/01/24 21:15:37 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/mcelog-1.0_pre3_p20120918-r1.ebuild,v 1.2 2013/01/26 17:52:36 hasufell Exp $
EAPI=5
inherit linux-info eutils toolchain-funcs vcs-snapshot
+COMMIT="0f5d0238ca7fb963a687a3c50c96c5f37a599c6b"
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
HOMEPAGE="http://mcelog.org/"
-SRC_URI="https://github.com/andikleen/${PN}/tarball/0f5d0238ca7fb963a687a3c50c96c5f37a599c6b -> ${P}.tar.gz"
+SRC_URI="https://github.com/andikleen/${PN}/tarball/${COMMIT} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -24,7 +25,8 @@ RESTRICT="test"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
- "${FILESDIR}"/${P}-build.patch
+ "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-bashism.patch
tc-export CC
}
@@ -40,7 +42,9 @@ src_install() {
newinitd "${FILESDIR}"/${PN}.init ${PN}
insinto /etc/${PN}
- doins triggers/* mcelog.conf
+ doins mcelog.conf
+ exeinto /etc/${PN}
+ doexe triggers/*
dodoc CHANGES README TODO *.pdf
doman ${PN}.8