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