blob: 6a383161b693b3b2fc6235ff489e14e6b9272215 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# 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
}
|