diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-03-14 12:24:57 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-03-14 12:24:57 +0000 |
commit | c8c2eaeee824ec3917b2fadfebe37a875bc9e9d1 (patch) | |
tree | 4fb46e9f45ea93d4621a3fa8768efbacfb294d97 /dev-ruby | |
parent | Cleanup and apply fix from opensuse #261880 by Peter Tworek. (diff) | |
download | gentoo-2-c8c2eaeee824ec3917b2fadfebe37a875bc9e9d1.tar.gz gentoo-2-c8c2eaeee824ec3917b2fadfebe37a875bc9e9d1.tar.bz2 gentoo-2-c8c2eaeee824ec3917b2fadfebe37a875bc9e9d1.zip |
Version bump.
(Portage version: 2.2_rc25/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/libxml/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/libxml/libxml-1.1.2.ebuild | 52 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-ruby/libxml/ChangeLog b/dev-ruby/libxml/ChangeLog index 1f49ddafc6af..1c43bff6ba52 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.23 2009/03/08 20:56:31 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/libxml/ChangeLog,v 1.24 2009/03/14 12:24:57 flameeyes Exp $ + +*libxml-1.1.2 (14 Mar 2009) + + 14 Mar 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +libxml-1.1.2.ebuild: + Version bump. *libxml-1.0.0 (08 Mar 2009) diff --git a/dev-ruby/libxml/libxml-1.1.2.ebuild b/dev-ruby/libxml/libxml-1.1.2.ebuild new file mode 100644 index 000000000000..a3c88489d530 --- /dev/null +++ b/dev-ruby/libxml/libxml-1.1.2.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.2.ebuild,v 1.1 2009/03/14 12:24:57 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 +} |