diff options
Diffstat (limited to 'dev-ruby/metasm')
-rw-r--r-- | dev-ruby/metasm/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/metasm/metasm-1.0.5.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/metasm/Manifest b/dev-ruby/metasm/Manifest index 9859988deb19..92b1ac0a344c 100644 --- a/dev-ruby/metasm/Manifest +++ b/dev-ruby/metasm/Manifest @@ -1,3 +1,5 @@ DIST metasm-1.0.4.gem 802816 BLAKE2B 8950f4c3c0d56bc414795c5a348fb07767223163c1cece4a7b5f5374b1c9c901a576b6adbb10d28b6b4541649e176863ad68da3a7e2155025c7f1bc9eaadff90 SHA512 35fe98bfd9d8b2f0d6a69cce409319288d9a54458f22a308682c3ea432e2c34d50d33a3849c08f773e87ee0a67aa5cc6bb337ec99045f23b6aca43c9f5ce70cc +DIST metasm-1.0.5.gem 803328 BLAKE2B 24ca2cff66257b063007b872028d4fad541584bee031dd4caacf2a89ee8f823e88dec8a2cf41815c72a5ef1b8db827b69fbb8ceaabee4d67de73aa04c15f354d SHA512 74a6eac47c06e7ff53f4e400fec6c6c73981bc58d09520ce7cdd657b6b74819fc5b9d6168edaf90eeb5c9b2087fd4924df1e21743809065cc1433428efbe1dd8 EBUILD metasm-1.0.4.ebuild 740 BLAKE2B 1b8291a4e70ba69bc4e94d4a3133ce8706a96c659366d9e03c04279e4aa1be79b696c535f52ca9577de2182b6d4a79bf2984894d8edc35570e277863365346c8 SHA512 defd8ffd300359bc9e4f831d723c4a489ab725ec5d9d64efa8ac53e6da0ab233757d01462854d31ae14c8649577dd9f0bcf82d270e242fe5bc114d98e7c80d43 +EBUILD metasm-1.0.5.ebuild 747 BLAKE2B cf65fd43871090c6f9aca2ed96c3c5537334786b8c57a6c3ca49cb01700baf34bb53c5e4e900884cc8db977abdc36608904e95b674f34b44635b7769a13d15ff SHA512 27aa604074ce63db8ec453a95c850bde6e9a932ff9737d84db7ad93ae4395e6bde1a55d82bb4f770d776e7548fdee30810dcfc97bf0c0be571b5d1ccb34cdf66 MISC metadata.xml 253 BLAKE2B 48f33288fc58b41b96f50af29bb4ce8989e714fa989ed445afc8933d1483e1026a019783805ad1b42399227819f461ed5c874df1c78c4bf144bccd07306ee995 SHA512 fad4a58e4c2a6eaa8bbbdc75e3995b5da53c9291f82480e35a9badfc1374bcc484663f2577790a46218be90d3b42bb45620297316c5493bc4a46af0dbd29189e 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 +} |