summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-elf
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-elf')
-rw-r--r--dev-ruby/ruby-elf/Manifest5
-rw-r--r--dev-ruby/ruby-elf/metadata.xml7
-rw-r--r--dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild68
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-ruby/ruby-elf/Manifest b/dev-ruby/ruby-elf/Manifest
new file mode 100644
index 000000000000..8b45991693e7
--- /dev/null
+++ b/dev-ruby/ruby-elf/Manifest
@@ -0,0 +1,5 @@
+DIST ruby-elf-1.0.8.tar.gz 1958368 SHA256 1ea44976f9ead16acfb28db0f0b64bbbad72f1ddf63a3f17da5ff265611d8a45 SHA512 40eb774b9869948812c56193c46548f5c372a1fbd3892b7e6ecd7865607e0edba81ba7e857b6571acb9abb67e066aed312d48a3d0ddd64c8f51f142eb45f8d8f WHIRLPOOL db63967f4a2a0119121cb556d17fd833c20b62723e8dd517242dc7dfb6e9888bee4087ebcf8062814da94eb66be5fad5e5f60a2299d5e76f01df907d22c493bc
+EBUILD ruby-elf-1.0.8.ebuild 1210 SHA256 8fef01ae4a2b19c07cc67e8932d2a46977d60c97677b93e4da6efedce06a4403 SHA512 39b01ba0277351e6af7907b9943e80abaf555e6e0faa06cda036eff3727964e932c6f514f3ffac188d1ad9bd1bc28f9c836c19b69b531b9064b577e3c2ffdc58 WHIRLPOOL ba36160c80d3a772209ec1440cc6a326bb09e4ab8b1f854cd2c073bb86bdd9bf823caecd8df0111e7ef2415a94565b365c908df9f6c3a6a8d485164d3a5dd0fb
+MISC ChangeLog 3293 SHA256 59dc1772d7d406b8696c0237b0d0bd8ab404d046d59f103ce2dcef2cc579cac5 SHA512 9f0ad5723c27ef0ea2e6734f71c7b88674f038cbec19a24848ceb666725749eb78a83e891462cd0969952ec634d7ef50394034cee5f4643ac4a39aa29f556854 WHIRLPOOL 42dbd8579c4a5c979fb6522b1d2df0595d11ad0f4e980ccef782a185e730e10a7a330d78f09338cbc9385e4613bcb11294c706bc197d74cc85ee348f4824b74a
+MISC ChangeLog-2015 2217 SHA256 c440e6fbde71f76648e4563f718e0aa1389821ee20936900c93e3c906eddfdf1 SHA512 23c9d9b2f707172354ce71269dc29db6b01583c5bac5cf08bc6b441c9378b84437558e1a58c3ad46f71e3fe111eb516736c54d91265f02e71cec79e9a2a3abd6 WHIRLPOOL ee0814cad2e676081046b20f224d62ea83b9edb59ba4206c5cb92f22732b84405d075cdad342044713f057ae30ba5c8abe694451418757447bcd61d1469e359f
+MISC metadata.xml 222 SHA256 9251a4682e1f6467ce81b709872bacc358d4a8e43c5c5f55a0f704693633fd0f SHA512 76a40459ec8f91419a4f5700ba32715bcb67c69f6b672f2dfff1714ee05e5ccc68e79c90918fea5c3439a1bd95539af371b65afecd60fc25bf1b01bf4d3ce588 WHIRLPOOL 89ec965c4e778498bf0695cb961acab095e4513b5a5f475eb7ab0b01dbb976e8bfa5d33ec511e3ab71fcdd76d2dd3453cb761608d534500f479a24abf82d8273
diff --git a/dev-ruby/ruby-elf/metadata.xml b/dev-ruby/ruby-elf/metadata.xml
new file mode 100644
index 000000000000..b4ffcd78a756
--- /dev/null
+++ b/dev-ruby/ruby-elf/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">Flameeyes/ruby-elf</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild
new file mode 100644
index 000000000000..170b8207900b
--- /dev/null
+++ b/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+GITHUB_URI="https://github.com/Flameeyes/${PN}"
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="${GITHUB_URI}.git"
+fi
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+RUBY_FAKGEM_GESPEC="${PN}.gemspec"
+
+inherit ruby-fakegem ${EGIT_REPO_URI:+git-2}
+
+if [[ -n ${EGIT_REPO_URI} ]]; then
+ SRC_URI=""
+else
+ SRC_URI="${GITHUB_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Ruby library to access ELF files information"
+HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test"
+
+ruby_add_bdepend "
+ test? ( dev-ruby/test-unit:2 )
+ dev-ruby/rake"
+
+# for the man pages
+DEPEND+="
+ dev-libs/libxslt
+ app-text/docbook-xsl-ns-stylesheets"
+
+RDEPEND+="
+ virtual/man"
+
+if [[ ${PV} == "9999" ]]; then
+ all_ruby_unpack() {
+ git_src_unpack
+ }
+fi
+
+all_ruby_compile() {
+ # build the man pages
+ rake manpages || die "rake manpages failed"
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib test/test_*.rb
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman manpages/*.1
+ dodoc DONATING README.md
+}