You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/id3lib-ruby/id3lib-ruby-0.6.0.ebuild

43 lines
949 B

# 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
}