sys-process/memwatch - 0.3.3-r1 (gentoo)

Search

Package Information

Description:
Interactive memory viewer
Homepage:
https://unixdev.ru/memwatch
License:
WTFPL-2

Ebuild Details

Version EAPI Keywords Slot
0.3.3-r1 8 amd64 ~riscv x86 0
View Raw Ebuild
# Copyright 1999-2024 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 ~riscv x86"

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
}

Dependencies

DEPEND

sys-libs/ncurses:0=

RDEPEND

sys-libs/ncurses:0=