summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-05-21 19:14:22 +0200
committerHans de Graaff <graaff@gentoo.org>2019-05-22 07:05:14 +0200
commit6e511fcc683d788e9b1db459a34ca2c4479ddcd4 (patch)
tree2a1afd5c060751705b7b2443f92b126bd5490b0f /dev-ruby/metasm
parentnet-dns/bind-tools: arm64 stable (diff)
downloadgentoo-6e511fcc683d788e9b1db459a34ca2c4479ddcd4.tar.gz
gentoo-6e511fcc683d788e9b1db459a34ca2c4479ddcd4.tar.bz2
gentoo-6e511fcc683d788e9b1db459a34ca2c4479ddcd4.zip
dev-ruby/metasm: add 1.0.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/metasm')
-rw-r--r--dev-ruby/metasm/Manifest1
-rw-r--r--dev-ruby/metasm/metasm-1.0.4.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/metasm/Manifest b/dev-ruby/metasm/Manifest
index b4da9b300e9..359c802b8fb 100644
--- a/dev-ruby/metasm/Manifest
+++ b/dev-ruby/metasm/Manifest
@@ -1 +1,2 @@
DIST metasm-1.0.2.gem 746496 BLAKE2B e7248ba61702fa74d2f53b6f8f112d1cbc113742891478c932151771a6ec66bc560d1b6d2a886c018e48d64e515c5a09e4c9d98deea7608dc2579741117bb04b SHA512 b5f90e46be0d3b86c2b525823aa1fc1ea711a8abe9edaf2908af73d869e1f6dc5163f45ea20bd1034b0f10b17c25e7b7cd9af6a77ebfbf24d925a68a84d264e3
+DIST metasm-1.0.4.gem 802816 BLAKE2B 8950f4c3c0d56bc414795c5a348fb07767223163c1cece4a7b5f5374b1c9c901a576b6adbb10d28b6b4541649e176863ad68da3a7e2155025c7f1bc9eaadff90 SHA512 35fe98bfd9d8b2f0d6a69cce409319288d9a54458f22a308682c3ea432e2c34d50d33a3849c08f773e87ee0a67aa5cc6bb337ec99045f23b6aca43c9f5ce70cc
diff --git a/dev-ruby/metasm/metasm-1.0.4.ebuild b/dev-ruby/metasm/metasm-1.0.4.ebuild
new file mode 100644
index 00000000000..c8698af680c
--- /dev/null
+++ b/dev-ruby/metasm/metasm-1.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="BUGS README TODO"
+RUBY_FAKEGEM_EXTRAINSTALL="metasm metasm.rb misc samples"
+
+inherit ruby-fakegem
+
+DESCRIPTION="cross-architecture assembler, disassembler, linker, and debugger"
+HOMEPAGE="https://metasm.cr0.org/"
+
+LICENSE="LGPL-2.1"
+SLOT="${PV}"
+IUSE=""
+
+KEYWORDS="~amd64 ~arm ~x86"
+
+all_ruby_prepare() {
+ mkdir bin
+ ln -s ../samples/disassemble.rb ./bin/disassemble
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ ruby_fakegem_binwrapper disassemble
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -e "Dir['tests/*.rb'].each{|f| require f}" || die
+}