summaryrefslogtreecommitdiff
blob: 046fa72b6468e6b0b8b7ded7d0fa472cef747fbe (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/recoverjpeg/recoverjpeg-1.1.4.ebuild,v 1.2 2009/02/21 06:25:11 mr_bones_ Exp $

DESCRIPTION="Recover JPEG pictures from a possibly corrupted disk image"
HOMEPAGE="http://www.rfc1149.net/devel/recoverjpeg"
SRC_URI="http://www.rfc1149.net/download/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"

DEPEND=""
RDEPEND="!minimal? (
		media-gfx/imagemagick
		media-gfx/exif
		dev-lang/python
	)"

src_install() {
	if use minimal; then
		dobin ${PN} || die "cannot install ${PN}"
		doman ${PN}.1 || die "cannot install manpages"
	else
		emake DESTDIR="${D}" install || die "emake install failed"
	fi
	dodoc README
}