blob: 2cf37bc08a2939885829983769135fd5c31fe3ad (
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
|
# 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.3.ebuild,v 1.5 2007/02/03 20:45:03 blubb Exp $
inherit ruby
DESCRIPTION="A secure audio ripper for linux"
HOMEPAGE="http://rubyforge.org/projects/rubyripper/"
SRC_URI="http://rubyforge.org/frs/download.php/15318/${P}.tar.bz2"
IUSE="flac mp3 vorbis"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
RDEPEND="dev-ruby/ruby-libglade2
virtual/eject
media-sound/cd-discid
media-sound/cdparanoia
flac? ( media-libs/flac )
mp3? ( media-sound/lame )
vorbis? ( media-sound/vorbis-tools )"
SLOT="0"
src_unpack() {
unpack ${A}
sed -i -e 's|rubyripper.glade|/usr/share/rubyripper/rubyripper.glade|' "${S}/rubyripper_gtk2.rb" || die "sed failed"
}
src_install() {
newbin rubyripper_cli.rb rrip-cli
newbin rubyripper_gtk2.rb rrip-gui
dodir /usr/share/rubyripper
insinto /usr/share/rubyripper
doins rubyripper.glade
doruby rr_lib.rb
}
pkg_postinst() {
echo ""
elog "Rubyripper now has cli and gui versions, which are installed"
elog "as rrip-cli and rrip-gui respectively."
echo ""
}
|