From 2fae02ea9b7df2936cf24968bd18e83c5b0b10a1 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sun, 22 Mar 2009 13:42:39 +0000 Subject: Version bump. (Portage version: 2.2_rc26/cvs/Linux x86_64) --- dev-ruby/libxml/ChangeLog | 8 +++++- dev-ruby/libxml/libxml-1.1.3.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 dev-ruby/libxml/libxml-1.1.3.ebuild (limited to 'dev-ruby/libxml') diff --git a/dev-ruby/libxml/ChangeLog b/dev-ruby/libxml/ChangeLog index 1c43bff6ba52..cd95d6d8b90a 100644 --- a/dev-ruby/libxml/ChangeLog +++ b/dev-ruby/libxml/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/libxml # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.24 2009/03/14 12:24:57 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.25 2009/03/22 13:42:39 flameeyes Exp $ + +*libxml-1.1.3 (22 Mar 2009) + + 22 Mar 2009; Diego E. Pettenò + +libxml-1.1.3.ebuild: + Version bump. *libxml-1.1.2 (14 Mar 2009) diff --git a/dev-ruby/libxml/libxml-1.1.3.ebuild b/dev-ruby/libxml/libxml-1.1.3.ebuild new file mode 100644 index 000000000000..9cc098c3c684 --- /dev/null +++ b/dev-ruby/libxml/libxml-1.1.3.ebuild @@ -0,0 +1,52 @@ +# 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.ebuild,v 1.1 2009/03/22 13:42:39 flameeyes Exp $ + +inherit ruby + +MY_P=${PN}-ruby-${PV} + +DESCRIPTION="Ruby libxml with a user friendly API, akin to REXML, but feature complete and significantly faster." +HOMEPAGE="http://libxml.rubyforge.org" +SRC_URI="mirror://rubyforge/${PN}/${MY_P}.tgz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=dev-libs/libxml2-2.6.6" +DEPEND="${RDEPEND} + dev-ruby/rake" + +S="${WORKDIR}/${MY_P}" + +USE_RUBY="ruby18" + +src_compile() { + rake extensions || die "rake extensions failed" + + if use doc; then + rake rdoc || die "rake rdoc failed" + fi +} + +src_test() { + rake test || die "rake test failed" +} + +src_install() { + cd "${S}"/lib + doruby -r * || die "doruby failed" + + cd "${S}"/ext/libxml + ruby_einstall || die "ruby_einstall failed" + + cd "${S}" + + dodoc README CHANGES || die "dodoc failed" + + if use doc; then + dohtml -r doc/* || die "dohtml failed" + fi +} -- cgit v1.2.3-65-gdbad