blob: feb351b46dc2e7519900f6023644dcbc01719854 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/libxml-0.3.4.ebuild,v 1.2 2004/09/04 23:04:06 dholm Exp $
inherit ruby
DESCRIPTION="libxml for Ruby with a user friendly API, akin to REXML, but feature complete and significantly faster."
HOMEPAGE="http://raa.ruby-lang.org/project/libxml/"
SRC_URI="http://www.rubynet.org/modules/xml/libxml/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
USE_RUBY="ruby16 ruby18 ruby19"
DEPEND="virtual/ruby
>=dev-libs/libxml2-2.6.6"
src_compile() {
ruby extconf.rb || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
erubydoc
}
src_test() {
cd test
for i in *.rb ; do
ruby -rtest/unit $i || die "test $i failed."
done
}
|