Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/memwatch/
Date: Sat, 26 Feb 2022 21:03:13
Message-Id: 1645909383.5b4114b402fb02e7ac9d54d0af0d11ea6bf416ef.monsieurp@gentoo
1 commit: 5b4114b402fb02e7ac9d54d0af0d11ea6bf416ef
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 20:48:46 2022 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 21:03:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4114b4
7
8 sys-process/memwatch: update EAPI 6 -> 8
9
10 Migrate from cmake-utils to cmake.
11
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13
14 sys-process/memwatch/memwatch-0.3.3-r1.ebuild | 27 +++++++++++++++++++++++++++
15 1 file changed, 27 insertions(+)
16
17 diff --git a/sys-process/memwatch/memwatch-0.3.3-r1.ebuild b/sys-process/memwatch/memwatch-0.3.3-r1.ebuild
18 new file mode 100644
19 index 000000000000..3d95dc363e12
20 --- /dev/null
21 +++ b/sys-process/memwatch/memwatch-0.3.3-r1.ebuild
22 @@ -0,0 +1,27 @@
23 +# Copyright 1999-2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=8
27 +
28 +CMAKE_REMOVE_MODULES_LIST=( FindCurses )
29 +inherit cmake
30 +
31 +DESCRIPTION="Interactive memory viewer"
32 +HOMEPAGE="https://unixdev.ru/memwatch"
33 +SRC_URI="http://unixdev.ru/src/${P}.tar.gz"
34 +
35 +LICENSE="WTFPL-2"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +IUSE=""
39 +
40 +DEPEND="sys-libs/ncurses:0="
41 +RDEPEND="${DEPEND}"
42 +
43 +src_prepare() {
44 + sed -e "s/^set(CMAKE_C_FLAGS.*/set(CMAKE_C_FLAGS \"${CFLAGS}\")/" \
45 + -e "1s/^/project(${PN})\n/" \
46 + -i CMakeLists.txt || die "can't patch CMakeLists.txt"
47 +
48 + cmake_src_prepare
49 +}