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

DESCRIPTION="Simple GTK+ Based CD Ripper"
HOMEPAGE="http://ripoffc.sourceforge.net"
SRC_URI="mirror://sourceforge/ripoffc/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="vorbis mp3 flac"
RDEPEND=">=x11-libs/gtk+-2.6
	dev-libs/libcdio
	media-libs/libcddb
	vorbis? ( media-libs/libvorbis )
	mp3? ( media-sound/lame )
	flac? ( media-libs/flac )"
DEPEND="${RDEPEND}"

src_compile() {
	econf \
		$(use_enable vorbis) \
		$(use_enable mp3) \
		$(use_enable flac) \
		|| die "econf failed"

	emake || die "emake failed"
}

src_install () {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS ChangeLog README TODO
}