summaryrefslogtreecommitdiff
blob: 76c0201c85173bacba80b88b7c62f2e40369d13c (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ripperx-2.3.ebuild,v 1.12 2004/08/25 02:35:21 swegener Exp $

IUSE=""

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"
DEPEND="=x11-libs/gtk+-1.2*
	media-sound/lame
	media-sound/cdparanoia
	media-libs/id3lib"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"


src_unpack () {
	unpack ${A}
}

src_compile () {
	cd ${S}
	./configure
	emake || die
}


src_install () {
	cd ${S}/src
	into /usr
	dobin ripperX

	cd ${S}/plugins
	into /usr
	dobin ripperX_plugin-8hz-mp3 ripperX_plugin-bladeenc \
	ripperX_plugin-cdparanoia ripperX_plugin-encode ripperX_plugin-gogo \
	ripperX_plugin-l3enc ripperX_plugin-lame ripperX_plugin-mp3enc \
	ripperX_plugin-oggenc ripperX_plugin-xingmp3enc ripperX_plugin_tester

	dodoc README AUTHORS COPYING BUGS CHANGES FAQ TODO
}