summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-08-14 08:18:14 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-08-14 08:18:14 +0000
commit0c047586bdd3ac9b0f61cba65551cfee24b0c835 (patch)
tree84fd6f60a3b7e49143ef4f2a803224c41e21c96e /dev-ruby/ox
parentCleanup. (diff)
downloadgentoo-2-0c047586bdd3ac9b0f61cba65551cfee24b0c835.tar.gz
gentoo-2-0c047586bdd3ac9b0f61cba65551cfee24b0c835.tar.bz2
gentoo-2-0c047586bdd3ac9b0f61cba65551cfee24b0c835.zip
Initial version
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/ox')
-rw-r--r--dev-ruby/ox/ChangeLog8
-rw-r--r--dev-ruby/ox/metadata.xml5
-rw-r--r--dev-ruby/ox/ox-2.0.8.ebuild33
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/ox/ChangeLog b/dev-ruby/ox/ChangeLog
new file mode 100644
index 000000000000..b6997e1f01e2
--- /dev/null
+++ b/dev-ruby/ox/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-ruby/ox
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ox/ChangeLog,v 1.1 2013/08/14 08:18:14 mrueg Exp $
+
+*ox-2.0.8 (14 Aug 2013)
+
+ 14 Aug 2013; Manuel Rüger <mrueg@gentoo.org> +metadata.xml, +ox-2.0.8.ebuild:
+ Initial version
diff --git a/dev-ruby/ox/metadata.xml b/dev-ruby/ox/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/ox/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>
diff --git a/dev-ruby/ox/ox-2.0.8.ebuild b/dev-ruby/ox/ox-2.0.8.ebuild
new file mode 100644
index 000000000000..e78a64cc50bf
--- /dev/null
+++ b/dev-ruby/ox/ox-2.0.8.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ox/ox-2.0.8.ebuild,v 1.1 2013/08/14 08:18:14 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A fast XML parser and Object marshaller"
+HOMEPAGE="http://www.ohler.com/ox/ https://github.com/ohler55/ox"
+SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} -Cext/ox extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext/ox
+ cp ext/ox/ox$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/tests.rb || die
+}