summaryrefslogtreecommitdiff
blob: 121f6cf721a3545f27b90202e86d802ab9732e3a (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit eutils autotools

DESCRIPTION="Log rotation software"
HOMEPAGE="https://github.com/fordmason/cronolog"
SRC_URI="http://cronolog.org/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"

PATCHES=(
	"${FILESDIR}/${PV}-patches"/*.txt
	"${FILESDIR}/${P}-umask.patch"
)

DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO )

src_prepare() {
	default
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install
	einstalldocs
}