/[gentoo-x86]/dev-ruby/id3lib-ruby/id3lib-ruby-0.6.0.ebuild
Gentoo

Contents of /dev-ruby/id3lib-ruby/id3lib-ruby-0.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 14 19:14:04 2012 UTC (9 months, 1 week ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +4 -2 lines
Add ree18.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/id3lib-ruby/id3lib-ruby-0.6.0.ebuild,v 1.2 2012/05/01 18:24:03 armin76 Exp $
4
5 EAPI="2"
6 # ruby19 → test failures
7 # jruby → compiled extension
8 USE_RUBY="ruby18 ree18"
9
10 RUBY_FAKEGEM_DOCDIR="doc"
11 RUBY_FAKEGEM_EXTRADOC="CHANGES README TODO"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="Ruby interface to the id3lib C++ library"
16 HOMEPAGE="http://id3lib-ruby.rubyforge.org/"
17
18 LICENSE="Ruby"
19 SLOT="0"
20 KEYWORDS="~amd64 ~ppc64 ~x86"
21 IUSE=""
22
23 DEPEND="${DEPEND} media-libs/id3lib"
24 RDEPEND="${RDEPEND} media-libs/id3lib"
25
26 each_ruby_configure() {
27 pushd ext/id3lib_api
28 ${RUBY} extconf.rb
29 popd
30 }
31
32 each_ruby_compile() {
33 pushd ext/id3lib_api
34 emake || die "Unable to compile extension."
35 popd
36 }
37
38 each_ruby_install() {
39 mv ext/id3lib_api/id3lib_api.so lib || die "Unable to install extension."
40
41 each_fakegem_install
42 }

  ViewVC Help
Powered by ViewVC 1.1.13