# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils 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" IUSE="vorbis mp3" DEPEND="${RDEPEND}" RDEPEND=">=x11-libs/gtk+-2.2 dev-libs/libcdio media-libs/libcddb vorbis? ( media-libs/libvorbis ) mp3? ( media-sound/lame )" src_unpack() { unpack ${A} cd ${S} } src_compile() { econf \ $(use_enable vorbis) \ $(use_enable mp3) \ || die "./configure failed" emake || die "emake failed" } src_install () { make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog README TODO }