summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-09-02 09:17:56 +0000
committerMamoru Komachi <usata@gentoo.org>2004-09-02 09:17:56 +0000
commit6745a4f72682ba4baff55449b1d9d127baee3a00 (patch)
treeb3835df8814518eb1aa3d1e38e555737e42d992d /dev-ruby/libxml
parentfix missing digest bug #62562. (diff)
downloadgentoo-2-6745a4f72682ba4baff55449b1d9d127baee3a00.tar.gz
gentoo-2-6745a4f72682ba4baff55449b1d9d127baee3a00.tar.bz2
gentoo-2-6745a4f72682ba4baff55449b1d9d127baee3a00.zip
Initial import. Ebuild submitted by <evanm@frap.net>, closing bug #56298.
Diffstat (limited to 'dev-ruby/libxml')
-rw-r--r--dev-ruby/libxml/ChangeLog10
-rw-r--r--dev-ruby/libxml/Manifest2
-rw-r--r--dev-ruby/libxml/files/digest-libxml-0.3.41
-rw-r--r--dev-ruby/libxml/libxml-0.3.4.ebuild34
-rw-r--r--dev-ruby/libxml/metadata.xml5
5 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/libxml/ChangeLog b/dev-ruby/libxml/ChangeLog
new file mode 100644
index 000000000000..977fdc681bd1
--- /dev/null
+++ b/dev-ruby/libxml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/libxml
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.1 2004/09/02 09:17:56 usata Exp $
+
+*libxml-0.3.4 (02 Sep 2004)
+
+ 02 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
+ +libxml-0.3.4.ebuild:
+ Initial import. Ebuild submitted by <evanm@frap.net>, closing bug #56298.
+
diff --git a/dev-ruby/libxml/Manifest b/dev-ruby/libxml/Manifest
new file mode 100644
index 000000000000..1630200b3cc6
--- /dev/null
+++ b/dev-ruby/libxml/Manifest
@@ -0,0 +1,2 @@
+MD5 eb3e3a7a5f3990156106fd58d940fc93 libxml-0.3.4.ebuild 617
+MD5 c88f8c3eaa413c5a8d0c0c06d517e74e files/digest-libxml-0.3.4 63
diff --git a/dev-ruby/libxml/files/digest-libxml-0.3.4 b/dev-ruby/libxml/files/digest-libxml-0.3.4
new file mode 100644
index 000000000000..e9436698ebc2
--- /dev/null
+++ b/dev-ruby/libxml/files/digest-libxml-0.3.4
@@ -0,0 +1 @@
+MD5 a4ad0ecc67a0234908e63d8362ed5498 libxml-0.3.4.tar.gz 33171
diff --git a/dev-ruby/libxml/libxml-0.3.4.ebuild b/dev-ruby/libxml/libxml-0.3.4.ebuild
new file mode 100644
index 000000000000..fbeb9a201583
--- /dev/null
+++ b/dev-ruby/libxml/libxml-0.3.4.ebuild
@@ -0,0 +1,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.1 2004/09/02 09:17:56 usata 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"
+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
+}
diff --git a/dev-ruby/libxml/metadata.xml b/dev-ruby/libxml/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/libxml/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>