diff --git a/packages/dev-util/scanmem/scanmem-0.17.exheres-0 b/packages/dev-util/scanmem/scanmem-0.17.exheres-0 new file mode 100644 index 0000000..d9e979f --- /dev/null +++ b/packages/dev-util/scanmem/scanmem-0.17.exheres-0 @@ -0,0 +1,6 @@ +# Copyright 2018 Martin Sekera +# Distributed under the terms of the GNU General Public License v2 + +require scanmem + +PLATFORMS="~amd64" diff --git a/packages/dev-util/scanmem/scanmem.exlib b/packages/dev-util/scanmem/scanmem.exlib new file mode 100644 index 0000000..1499714 --- /dev/null +++ b/packages/dev-util/scanmem/scanmem.exlib @@ -0,0 +1,38 @@ +# Copyright 2018 Martin Sekera +# 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) +}