dev-util/swapusage - 1.1 (nest)

Search

Package Information

Description:
Amount of swapped memory for running processes
Homepage:
https://github.com/hhoffstaette/swapusage
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Amount of swapped memory for running processes"
HOMEPAGE="https://github.com/hhoffstaette/swapusage"
SRC_URI="https://github.com/hhoffstaette/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_prepare() {
	default

	sed -i  -e '/CXXFLAGS =/d' \
		-e '/LDFLAGS =/d' Makefile || die "sed failed"
}

src_compile() {
	emake CXX="$(tc-getCXX)"
}

src_install() {
	einstalldocs
	dobin swapusage
}

Manifest for 1.1

Type File Size Source URLs
DIST swapusage-1.1.tar.gz 8915 bytes https://github.com/hhoffstaette/swapusage/archive/1.1.tar.gz