mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
sys-process/btop: Add new package
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
This commit is contained in:
1
sys-process/btop/Manifest
Normal file
1
sys-process/btop/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST btop-1.0.1.tar.gz 921264 BLAKE2B a272e9479dbffe18e0000632f9697c5ed59707503c836eafd36f62db55787e56ad4d79a81e699a1821d3630052373daf4568a7096e31385075b1f0db00ed40b4 SHA512 dcbd2daeebf7238e3724f75d1be5a5bc1abf554a938b3a35179d65523098cd74df38cf5d26eea58532ad412805302c6681045ec92df4a860a12c91d7280202ce
|
||||
39
sys-process/btop/btop-1.0.1.ebuild
Normal file
39
sys-process/btop/btop-1.0.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
8
sys-process/btop/metadata.xml
Normal file
8
sys-process/btop/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nex+b-g-o@nexadn.de</email>
|
||||
<name>Adrian Schollmeyer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user