mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-09 09:56:00 +01:00
31 lines
587 B
Bash
31 lines
587 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
|
|
DESCRIPTION="A simple utility to dump all memory of a running process"
|
|
HOMEPAGE="http://lcamtuf.coredump.cx/"
|
|
SRC_URI="http://lcamtuf.coredump.cx/soft/${PN}.tgz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE=""
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
|
|
src_prepare () {
|
|
sed -e "s:asm/page:sys/user:" -i memfetch.c || die "sed failed"
|
|
}
|
|
|
|
src_compile() {
|
|
emake || die "Compile failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin memfetch mffind.pl
|
|
dodoc README
|
|
}
|