summaryrefslogtreecommitdiff
blob: 65e19f9b17513a4763c26f6ced5a1243da335fe8 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/grabcartoons/grabcartoons-9999.ebuild,v 1.1 2014/11/11 23:28:53 tamiko Exp $

EAPI=5

inherit eutils git-r3

DESCRIPTION="Comic-summarizing utility"
HOMEPAGE="http://grabcartoons.sourceforge.net/ https://github.com/zzamboni/grabcartoons"

EGIT_REPO_URI="https://github.com/zzamboni/grabcartoons.git"

if [[ "${PV}" != "9999" ]] ; then
	KEYWORDS="~amd64 ~x86"
	EGIT_COMMIT="cb230f01fb288a0b9f0fc437545b97d06c846bd3"
fi

LICENSE="BSD"
SLOT="0"

RDEPEND="dev-lang/perl
	virtual/perl-Getopt-Long"

# Opens a web page, which is unacceptable during an emerge.
RESTRICT="test"

src_prepare() {
	epatch "${FILESDIR}"/2.8.4-fix-install-paths.patch
}

src_install() {
	emake PREFIX="${ED}"/usr install
	dodoc ChangeLog README
}