diff options
Diffstat (limited to 'dev-util/scanmem')
-rw-r--r-- | dev-util/scanmem/Manifest | 2 | ||||
-rw-r--r-- | dev-util/scanmem/scanmem-0.16.1.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/scanmem/Manifest b/dev-util/scanmem/Manifest index 6ffd448e3c7a..d7451b336ec4 100644 --- a/dev-util/scanmem/Manifest +++ b/dev-util/scanmem/Manifest @@ -1,3 +1,5 @@ +DIST scanmem-0.16.1.tar.gz 202133 BLAKE2B bb07234aaf1f93dba5f7feb0af0efcdadb7cd7cabfce2d62f19da01ba947cf9f4ba91024db2379e218b91953679a77080a4fa711ceaca659ac7b3f01645e3f93 SHA512 5e0a97e020a8a392aed75e2654cc6bcfad68590b9caab43444e57c3180be45ce1269f5acb02355bee57ff8bb5b9349b4f65e0fe96655206a812ea645796b153b DIST scanmem-0.17.tar.gz 220489 BLAKE2B b1ae07f96fd736e9ca6a5d55ad2d6b06b7d0dc4828915e0f2adaa2d58b053d9734ccd7425fb5391289249f838773cf3f9a81dbe76bacd42f41203d27dcffed05 SHA512 6d74f3d1d3492d41cabc342cfd1189815536dcbd57857d8a92e05c5dcaebcb9b1df886aee706c56eaf3344737070ea0fe852eef164ef3fe7907f66c626d8523e +EBUILD scanmem-0.16.1.ebuild 984 BLAKE2B c069e8b0389b74d19120d7646fc686b4eb91d487a5f44e24f3d5d7a09048a7135b27992171d804cc092941f93342531d7ccab0ef4f20c614e554c62ce0c012c9 SHA512 621af86f741b3e24a0a6db83380909b246973c12ed1c2ec1fa565edcc371fc72a581f8f8f7fbbf76112f64631b8f204a420e6fe12f4f4809a0893637b261de3e EBUILD scanmem-0.17.ebuild 1085 BLAKE2B 6845287ac7ac73c9325552fb4d7d103b287a80c1c16fc6c43d263e00bb0f6c79cd19530204408a1124a7196603503c6c0752eec0c9ed7fe6809a47413e270a86 SHA512 849fb77928c61c5b0faf2a04096df8df71543f2f66eab498ca002f8237947c143d40a25d5ea6ba2967a8eb4d546706c628e0bf88a3a06beb2e70d669ad26295d MISC metadata.xml 317 BLAKE2B 6d3e5903daa28fe65c109b4a75c8e143a90b7a99095353bc440d41566e9f942f0e415b5561b220bf23fd8e1e0b658d298a6d49d8a442b66042b129c6ee60057f SHA512 44f1ccb76808c4bd5c2bdade165d0f32d68ca07fbec73b2c074ff5b486cb69df2b23cb619d590b5a15d1adfe2f444f2b91aad3f238b29c752aaad97b3a5616b0 diff --git a/dev-util/scanmem/scanmem-0.16.1.ebuild b/dev-util/scanmem/scanmem-0.16.1.ebuild new file mode 100644 index 000000000000..d46dad01e3a3 --- /dev/null +++ b/dev-util/scanmem/scanmem-0.16.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{5,6}} ) + +inherit autotools eutils python-single-r1 + +DESCRIPTION="Locate and modify variables in executing processes" +HOMEPAGE="https://github.com/scanmem/scanmem" +SRC_URI="https://github.com/scanmem/scanmem/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gui" + +DEPEND="sys-libs/readline:=" +RDEPEND="${DEPEND} + gui? ( + ${PYTHON_DEPS} + dev-python/pygobject:3 + sys-auth/polkit + )" + +REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use gui && python-single-r1_pkg_setup +} + +src_prepare() { + default + + sed -i "/CFLAGS/d" Makefile.am || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-readline + $(use_enable gui) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use gui ; then + docinto gui + dodoc gui/{README,TODO} + python_fix_shebang "${D}" + fi +} |