rand/packages/dev-util/scanmem/scanmem.exlib
2018-12-19 00:10:25 +01:00

38 lines
1 KiB
Bash

# 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)
}