# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ripperx-2.7.0.ebuild,v 1.5 2007/07/25 21:11:43 angelos Exp $ inherit eutils toolchain-funcs MY_P="${P/x/X}" S="${WORKDIR}/${MY_P}" DESCRIPTION="RipperX is a program to rip CD and encode mp3s" HOMEPAGE="http://ripperx.sf.net/" SRC_URI="mirror://sourceforge/ripperx/${MY_P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 ppc sparc x86" IUSE="" RDEPEND="=x11-libs/gtk+-1.2* media-sound/lame media-sound/cdparanoia media-libs/id3lib media-libs/flac" DEPEND="${RDEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-asneeded.patch } src_compile() { econf emake CC=$(tc-getCC) || die "emake failed." } src_install() { dodoc BUGS CHANGES FAQ README* TODO dobin src/ripperX plugins/ripperX_plugin-8hz-mp3 \ plugins/ripperX_plugin-bladeenc plugins/ripperX_plugin-cdparanoia \ plugins/ripperX_plugin-encode plugins/ripperX_plugin-gogo plugins/ripperX_plugin-l3enc \ plugins/ripperX_plugin-lame plugins/ripperX_plugin-mp3enc plugins/ripperX_plugin-oggenc \ plugins/ripperX_plugin-xingmp3enc plugins/ripperX_plugin_tester \ plugins/ripperX_plugin-flac plugins/ripperX_plugin-toolame doicon src/xpms/ripperX-icon.xpm make_desktop_entry ripperX "${PN}" ripperX-icon.xpm }