diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /sys-process/memwatch/memwatch-0.3.3-r1.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'sys-process/memwatch/memwatch-0.3.3-r1.ebuild')
-rw-r--r-- | sys-process/memwatch/memwatch-0.3.3-r1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-process/memwatch/memwatch-0.3.3-r1.ebuild b/sys-process/memwatch/memwatch-0.3.3-r1.ebuild new file mode 100644 index 000000000000..0612584b5cc1 --- /dev/null +++ b/sys-process/memwatch/memwatch-0.3.3-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_REMOVE_MODULES_LIST=( FindCurses ) +inherit cmake + +DESCRIPTION="Interactive memory viewer" +HOMEPAGE="https://unixdev.ru/memwatch" +SRC_URI="http://unixdev.ru/src/${P}.tar.gz" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="sys-libs/ncurses:0=" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e "s/^set(CMAKE_C_FLAGS.*/set(CMAKE_C_FLAGS \"${CFLAGS}\")/" \ + -e "1s/^/project(${PN})\n/" \ + -i CMakeLists.txt || die "can't patch CMakeLists.txt" + + cmake_src_prepare +} |