summaryrefslogtreecommitdiff
blob: 017c150e7f5284b9cfa6c6002b03474ef5712697 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit toolchain-funcs

DESCRIPTION="CD/DVD image converter using libmirage"
HOMEPAGE="http://proj.mgorny.alt.pl/mirage2iso/"
SRC_URI="http://dl.mgorny.alt.pl/${PN}/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pinentry"

DEPEND="dev-libs/libmirage
	pinentry? ( <dev-libs/libassuan-2 )"
RDEPEND="${DEPEND}
	pinentry? ( app-crypt/pinentry )"

src_configure() {
	tc-export CC
	econf \
		$(use_with pinentry assuan)
}

src_install() {
	emake PREFIX=/usr DESTDIR="${D}" install || die 'install failed'

	dodoc README || die 'dodoc failed'
}