summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-11-27 07:25:27 +0100
committerHans de Graaff <graaff@gentoo.org>2017-11-27 07:30:08 +0100
commit46ff3cbdc07c6a8ff4680e66335b0d98d1c1ae75 (patch)
treec2b1929ddc731529b96197a7a6b70b792ba1f6f0 /dev-ruby/ox/ox-2.8.2.ebuild
parentnet-dns/libidn: "Really fix integer overflow" (bug #631130). (diff)
downloadgentoo-46ff3cbdc07c6a8ff4680e66335b0d98d1c1ae75.tar.gz
gentoo-46ff3cbdc07c6a8ff4680e66335b0d98d1c1ae75.tar.bz2
gentoo-46ff3cbdc07c6a8ff4680e66335b0d98d1c1ae75.zip
dev-ruby/ox: add 2.8.2
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/ox/ox-2.8.2.ebuild')
-rw-r--r--dev-ruby/ox/ox-2.8.2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/ox/ox-2.8.2.ebuild b/dev-ruby/ox/ox-2.8.2.ebuild
new file mode 100644
index 000000000000..2f95cc6f0c92
--- /dev/null
+++ b/dev-ruby/ox/ox-2.8.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+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 ~ppc ~ppc64 ~x86"
+SLOT="0"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} -Cext/ox extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/ox
+ cp ext/ox/ox$(get_modname) lib/ox/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/tests.rb || die
+}