diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-10-09 00:45:22 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-10-09 00:45:22 +0000 |
commit | 568f8ea750adb916d492dcede5aeac1056cac221 (patch) | |
tree | 1cd5865f3f2581745c7796d4805bcc3933da8af9 /dev-ruby | |
parent | Add ruby20 target. (diff) | |
download | gentoo-2-568f8ea750adb916d492dcede5aeac1056cac221.tar.gz gentoo-2-568f8ea750adb916d492dcede5aeac1056cac221.tar.bz2 gentoo-2-568f8ea750adb916d492dcede5aeac1056cac221.zip |
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/sigar/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/sigar/sigar-0.7.2-r1.ebuild | 36 |
2 files changed, 43 insertions, 2 deletions
diff --git a/dev-ruby/sigar/ChangeLog b/dev-ruby/sigar/ChangeLog index 73fa32a4fbb9..71707ac1b5b1 100644 --- a/dev-ruby/sigar/ChangeLog +++ b/dev-ruby/sigar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/sigar -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sigar/ChangeLog,v 1.7 2012/08/14 18:56:56 flameeyes Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sigar/ChangeLog,v 1.8 2013/10/09 00:45:22 mrueg Exp $ + +*sigar-0.7.2-r1 (09 Oct 2013) + + 09 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +sigar-0.7.2-r1.ebuild: + Add ruby20 target. 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> metadata.xml: Update metadata.xml so that it's the same as most other packages. diff --git a/dev-ruby/sigar/sigar-0.7.2-r1.ebuild b/dev-ruby/sigar/sigar-0.7.2-r1.ebuild new file mode 100644 index 000000000000..28d697d4c665 --- /dev/null +++ b/dev-ruby/sigar/sigar-0.7.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sigar/sigar-0.7.2-r1.ebuild,v 1.1 2013/10/09 00:45:22 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19 ruby20" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit multilib ruby-fakegem + +DESCRIPTION="System Information Gatherer And Reporter" +HOMEPAGE="http://sigar.hyperic.com/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +each_ruby_configure() { + ${RUBY} -Cbindings/ruby extconf.rb || die +} + +each_ruby_compile() { + emake -Cbindings/ruby V=1 + mkdir lib || die + cp bindings/ruby/${PN}$(get_modname) lib/ || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib bindings/ruby/test/*_test.rb +} |