diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-01-27 20:46:29 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-01-27 20:46:29 +0000 |
commit | 297b10b4bfb8b201b0893c5c83310728eb6df30c (patch) | |
tree | 340dda5833d4783b7165feedc211cc7052453c77 /dev-ruby/ruby-elf | |
parent | fixed missing LDFLAGS (diff) | |
download | gentoo-2-297b10b4bfb8b201b0893c5c83310728eb6df30c.tar.gz gentoo-2-297b10b4bfb8b201b0893c5c83310728eb6df30c.tar.bz2 gentoo-2-297b10b4bfb8b201b0893c5c83310728eb6df30c.zip |
Initial import of ruby-elf and its utilities by me.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby-elf')
-rw-r--r-- | dev-ruby/ruby-elf/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/ruby-elf/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/ruby-elf/ruby-elf-1.0.0.ebuild | 42 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/ruby-elf/ChangeLog b/dev-ruby/ruby-elf/ChangeLog new file mode 100644 index 000000000000..e164f227f9ff --- /dev/null +++ b/dev-ruby/ruby-elf/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/ruby-elf +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ChangeLog,v 1.1 2011/01/27 20:46:29 flameeyes Exp $ + +*ruby-elf-1.0.0 (27 Jan 2011) + + 27 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org> +ruby-elf-1.0.0.ebuild, + +metadata.xml: + Initial import of ruby-elf and its utilities by me. + diff --git a/dev-ruby/ruby-elf/metadata.xml b/dev-ruby/ruby-elf/metadata.xml new file mode 100644 index 000000000000..2d083ce3bc66 --- /dev/null +++ b/dev-ruby/ruby-elf/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.0.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.0.ebuild new file mode 100644 index 000000000000..2304cbc795c7 --- /dev/null +++ b/dev-ruby/ruby-elf/ruby-elf-1.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ruby-elf-1.0.0.ebuild,v 1.1 2011/01/27 20:46:29 flameeyes Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ruby19 ree18 jruby" +SRC_URI="mirror://rubyforge/${PN}/${P}.tar.bz2" +KEYWORDS="~amd64" + +inherit ruby-ng + +DESCRIPTION="Ruby library to access ELF files information" +HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" + +ruby_add_bdepend " + test? ( + dev-ruby/rake + dev-ruby/rubygems + || ( virtual/ruby-test-unit dev-ruby/test-unit:2 ) + )" + +RDEPEND="${RDEPEND} + virtual/man" + +each_ruby_install() { + doruby -r lib/* || die +} + +each_ruby_test() { + ${RUBY} -S rake test || die "${RUBY} test failed" +} + +all_ruby_install() { + dobin bin/* || die + doman manpages/*.1 || die "doman failed" + dodoc DONATING || die "dodoc failed" +} |