add dev-util/scanmem

This commit is contained in:
Martin Sekera 2018-12-19 00:10:25 +01:00
parent 990b2e61d9
commit f410673aab
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
# Distributed under the terms of the GNU General Public License v2
require scanmem
PLATFORMS="~amd64"

View file

@ -0,0 +1,38 @@
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
# Distributed under the terms of the GNU General Public License v2
# require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
require github [ tag=v${PV} ]
SUMMARY="A memory scanner for Linux."
DESCRIPTION="scanmem is a debugging utility designed to isolate the address of an arbitrary variable in an executing process. scanmem simply needs to be told the pid of the process and the value of the variable at several different times. After several scans of the process, scanmem isolates the position of the variable and allows you to modify its value."
LICENCES="GPL-3 LGPL-3"
SLOT="0"
MYOPTIONS="
gui [[ description = [ Build GameConqueror, the scanmem graphical interface. ] ]]
"
DEPENDENCIES="
build:
dev-util/intltool
build+run:
sys-libs/readline
dev-lang/python
gui? (
gnome-bindings/pygobject
x11-libs/gtk+:3
sys-auth/polkit
)
"
src_prepare(){
default
edo ./autogen.sh
}
src_configure() {
econf $(option_enable gui)
}