blob: 0c724030268737065c003b3cad78bd7513037106 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/libxml-1.1.3-r1.ebuild,v 1.1 2009/12/15 20:00:53 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_NAME="libxml-ruby"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README CHANGES"
inherit ruby-fakegem
DESCRIPTION="Ruby libxml with a user friendly API, akin to REXML, but feature complete and significantly faster."
HOMEPAGE="http://libxml.rubyforge.org"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND=">=dev-libs/libxml2-2.6.6"
DEPEND="${RDEPEND}"
each_ruby_compile() {
pushd ext/libxml
${RUBY} extconf.rb || die "extconf.rb failed"
emake || die "make extension failed"
popd
}
each_ruby_install() {
each_fakegem_install
ruby_fakegem_newins ext/libxml/libxml_ruby.so lib/libxml_ruby.so
}
|