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

EAPI=6

inherit multilib-minimal

DESCRIPTION="Randomize lines from text files or stdin"
HOMEPAGE="https://arthurdejong.org/rl"
SRC_URI="https://arthurdejong.org/rl/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ia64 ~mips ~ppc ~s390 ~sparc ~x86"
IUSE="debug"

multilib_src_configure() {
	local myeconfargs=()
	use debug && myeconfargs+=(--enable-debug)
	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}

src_compile() {
	multilib-minimal_src_compile
}

src_install() {
	multilib-minimal_src_install
	dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}