summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-08 08:30:29 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-09 08:55:09 +0200
commit4d0bfe34a897412db5052c2e5eaf4f4444f95de0 (patch)
treea2ddcc868440aba69116318c05f87d3dbeac36cf /dev-ruby/metasm
parentx11-wm/icewm: ppc stable wrt bug #801148 (diff)
downloadgentoo-4d0bfe34a897412db5052c2e5eaf4f4444f95de0.tar.gz
gentoo-4d0bfe34a897412db5052c2e5eaf4f4444f95de0.tar.bz2
gentoo-4d0bfe34a897412db5052c2e5eaf4f4444f95de0.zip
dev-ruby/metasm: add 1.0.5
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/metasm')
-rw-r--r--dev-ruby/metasm/Manifest1
-rw-r--r--dev-ruby/metasm/metasm-1.0.5.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/metasm/Manifest b/dev-ruby/metasm/Manifest
index f1583129b5f4..34f3689cd4d9 100644
--- a/dev-ruby/metasm/Manifest
+++ b/dev-ruby/metasm/Manifest
@@ -1 +1,2 @@
DIST metasm-1.0.4.gem 802816 BLAKE2B 8950f4c3c0d56bc414795c5a348fb07767223163c1cece4a7b5f5374b1c9c901a576b6adbb10d28b6b4541649e176863ad68da3a7e2155025c7f1bc9eaadff90 SHA512 35fe98bfd9d8b2f0d6a69cce409319288d9a54458f22a308682c3ea432e2c34d50d33a3849c08f773e87ee0a67aa5cc6bb337ec99045f23b6aca43c9f5ce70cc
+DIST metasm-1.0.5.gem 803328 BLAKE2B 24ca2cff66257b063007b872028d4fad541584bee031dd4caacf2a89ee8f823e88dec8a2cf41815c72a5ef1b8db827b69fbb8ceaabee4d67de73aa04c15f354d SHA512 74a6eac47c06e7ff53f4e400fec6c6c73981bc58d09520ce7cdd657b6b74819fc5b9d6168edaf90eeb5c9b2087fd4924df1e21743809065cc1433428efbe1dd8
diff --git a/dev-ruby/metasm/metasm-1.0.5.ebuild b/dev-ruby/metasm/metasm-1.0.5.ebuild
new file mode 100644
index 000000000000..0cd06d331201
--- /dev/null
+++ b/dev-ruby/metasm/metasm-1.0.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+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
+}