diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest new file mode 100644 index 0000000000..f669574494 --- /dev/null +++ b/sys-process/btop/Manifest @@ -0,0 +1 @@ +DIST btop-1.0.1.tar.gz 921264 BLAKE2B a272e9479dbffe18e0000632f9697c5ed59707503c836eafd36f62db55787e56ad4d79a81e699a1821d3630052373daf4568a7096e31385075b1f0db00ed40b4 SHA512 dcbd2daeebf7238e3724f75d1be5a5bc1abf554a938b3a35179d65523098cd74df38cf5d26eea58532ad412805302c6681045ec92df4a860a12c91d7280202ce diff --git a/sys-process/btop/btop-1.0.1.ebuild b/sys-process/btop/btop-1.0.1.ebuild new file mode 100644 index 0000000000..d3a559b427 --- /dev/null +++ b/sys-process/btop/btop-1.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A monitor of resources" +HOMEPAGE="https://github.com/aristocratos/btop" +SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND=" + >=sys-devel/gcc-10 +" + +src_prepare() { + default + # btop installs README.md to /usr/share/btop by default + sed -i 's/^.*cp -p README.md.*$//' Makefile +} + +src_compile() { + # Disable btop optimization flags, since we have our flags in CXXFLAGS + emake \ + OPTFLAGS="" +} + +src_install() { + emake \ + PREFIX="${EPREFIX}/usr" \ + DESTDIR="${D}" \ + install + + dodoc README.md CHANGELOG.md +} diff --git a/sys-process/btop/metadata.xml b/sys-process/btop/metadata.xml new file mode 100644 index 0000000000..9997c2e862 --- /dev/null +++ b/sys-process/btop/metadata.xml @@ -0,0 +1,8 @@ + + + + + nex+b-g-o@nexadn.de + Adrian Schollmeyer + +