summaryrefslogtreecommitdiff
blob: faba3cf3e86e6aca15f90385b21a30c0ffb52c72 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/rubyripper-0.4.2-r1.ebuild,v 1.3 2007/10/22 21:23:35 maekke Exp $

inherit ruby

DESCRIPTION="a secure audio ripper for linux"
HOMEPAGE="http://code.google.com/p/rubyripper"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="flac mp3 vorbis"

RDEPEND="dev-ruby/ruby-gtk2
	virtual/eject
	media-sound/cd-discid
	media-sound/cdparanoia
	flac? ( media-libs/flac )
	mp3? ( media-sound/lame )
	vorbis? ( media-sound/vorbis-tools )"

src_install() {
	newbin rubyripper_cli.rb rrip_cli
	newbin rubyripper_gtk2.rb rrip_gui
	doicon rubyripper_22.png
	domenu rubyripper.desktop
	doruby rr_lib.rb
	dodoc README
}

pkg_postinst() {
	echo ""
	elog "Rubyripper now has cli and gui versions, which are installed"
	elog "as rrip_cli and rrip_gui respectively."
	echo ""
}