blob: 7120e1e61306e1d733fe65e9b69573e303941ed0 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/id3lib-ruby/id3lib-ruby-0.6.0.ebuild,v 1.3 2012/08/14 19:14:04 graaff Exp $
EAPI="2"
# ruby19 → test failures
# jruby → compiled extension
USE_RUBY="ruby18 ree18"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGES README TODO"
inherit ruby-fakegem
DESCRIPTION="Ruby interface to the id3lib C++ library"
HOMEPAGE="http://id3lib-ruby.rubyforge.org/"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
DEPEND="${DEPEND} media-libs/id3lib"
RDEPEND="${RDEPEND} media-libs/id3lib"
each_ruby_configure() {
pushd ext/id3lib_api
${RUBY} extconf.rb
popd
}
each_ruby_compile() {
pushd ext/id3lib_api
emake || die "Unable to compile extension."
popd
}
each_ruby_install() {
mv ext/id3lib_api/id3lib_api.so lib || die "Unable to install extension."
each_fakegem_install
}
|