mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
metasm: added initial revision
This commit is contained in:
parent
dd4c6c2ab7
commit
878039e79d
3 changed files with 55 additions and 0 deletions
2
dev-util/metasm/Manifest
Normal file
2
dev-util/metasm/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
AUX metasm 138 RMD160 5a77a342e6aed3f80307136efc0d9f9152290f24 SHA1 8ced766b9fe6ed83144d0481246f365c8ce1fcdb SHA256 53babbae64669bcbcae6cda4f28c99e4856628c3e7f36ee8130c4d857d5e2385
|
||||
EBUILD metasm-9999.ebuild 1129 RMD160 346922629670e63959fe52f0d2018a87f34ad6fd SHA1 701f48aa0cc393eeb332c8a1530c0e5f7a857776 SHA256 c77992eb7170015d77b7421b41b00cb3c88dd0d747512bce7923e7e0d688c0ef
|
||||
7
dev-util/metasm/files/metasm
Normal file
7
dev-util/metasm/files/metasm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/lib/metasm
|
||||
echo "Here's all the metasm samples/scripts"
|
||||
echo "The metasm core in in your site_ruby's dir"
|
||||
ls
|
||||
/bin/bash
|
||||
46
dev-util/metasm/metasm-9999.ebuild
Normal file
46
dev-util/metasm/metasm-9999.ebuild
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
inherit ruby-ng git
|
||||
|
||||
DESCRIPTION="Metasm is a cross-architecture assembler, disassembler, compiler, linker and debugger"
|
||||
HOMEPAGE="http://metasm.cr0.org/"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="http://github.com/jjyg/${PN}.git"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk"
|
||||
|
||||
RDEPEND="dev-ruby/rubygems
|
||||
dev-ruby/ruby-gtk2"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
each_ruby_install() {
|
||||
# Ugly WA to make git&ruby works together
|
||||
cd "${WORKDIR}/${P}"
|
||||
doruby -r metasm.rb metasm || die "install failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
cd "${WORKDIR}/${P}"
|
||||
dodoc BUGS CREDITS README TODO doc/*.txt doc/*/*
|
||||
insopts -m 0655
|
||||
insinto /usr/lib/"${PN}"
|
||||
cd samples
|
||||
doins -r * || die "failed to install scripts"
|
||||
cd ../misc
|
||||
doins -r * || die "failed to install scripts"
|
||||
cd ../tests
|
||||
doins -r * || die "failed to install scripts"
|
||||
dodir /usr/bin
|
||||
dosym ../lib/"${PN}"/disassemble.rb /usr/bin/disassemble
|
||||
dosym ../lib/"${PN}"/disassemble-gui.rb /usr/bin/disassemble-gui
|
||||
dobin "${FILESDIR}"/metasm
|
||||
}
|
||||
Loading…
Reference in a new issue