blob: 7ef5f7e3b1cdaf51e7f73a8b6f423463abea915c (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-summary/syslog-summary-1.14.ebuild,v 1.3 2011/10/08 21:09:45 phajdan.jr Exp $
EAPI=2
PYTHON_DEPEND="2:2.5"
inherit eutils python
DESCRIPTION="Summarizes the contents of a syslog log file."
HOMEPAGE="http://github.com/dpaleino/syslog-summary"
SRC_URI="mirror://github/dpaleino/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
python_convert_shebangs 2 syslog-summary
# Sadly, the makefile is useless for us.
rm Makefile || die
}
src_install() {
dobin syslog-summary || die
dodoc AUTHORS ChangeLog NEWS README || die
doman syslog-summary.1 || die
insinto /etc/syslog-summary
doins ignore.rules || die
}
|