1 |
commit: 349d01e087504cd5d10f95731e7375fa8fc2b861 |
2 |
Author: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de> |
3 |
AuthorDate: Sat Sep 18 19:48:31 2021 +0000 |
4 |
Commit: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de> |
5 |
CommitDate: Sat Sep 18 19:48:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=349d01e0 |
7 |
|
8 |
sys-process/btop: Add new package |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de> |
12 |
|
13 |
sys-process/btop/Manifest | 1 + |
14 |
sys-process/btop/btop-1.0.1.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ |
15 |
sys-process/btop/metadata.xml | 8 ++++++++ |
16 |
3 files changed, 48 insertions(+) |
17 |
|
18 |
diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..f66957449 |
21 |
--- /dev/null |
22 |
+++ b/sys-process/btop/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST btop-1.0.1.tar.gz 921264 BLAKE2B a272e9479dbffe18e0000632f9697c5ed59707503c836eafd36f62db55787e56ad4d79a81e699a1821d3630052373daf4568a7096e31385075b1f0db00ed40b4 SHA512 dcbd2daeebf7238e3724f75d1be5a5bc1abf554a938b3a35179d65523098cd74df38cf5d26eea58532ad412805302c6681045ec92df4a860a12c91d7280202ce |
25 |
|
26 |
diff --git a/sys-process/btop/btop-1.0.1.ebuild b/sys-process/btop/btop-1.0.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000..d3a559b42 |
29 |
--- /dev/null |
30 |
+++ b/sys-process/btop/btop-1.0.1.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DESCRIPTION="A monitor of resources" |
38 |
+HOMEPAGE="https://github.com/aristocratos/btop" |
39 |
+SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="Apache-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+ |
45 |
+DEPEND="" |
46 |
+RDEPEND="${DEPEND}" |
47 |
+BDEPEND=" |
48 |
+ >=sys-devel/gcc-10 |
49 |
+" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ # btop installs README.md to /usr/share/btop by default |
54 |
+ sed -i 's/^.*cp -p README.md.*$//' Makefile |
55 |
+} |
56 |
+ |
57 |
+src_compile() { |
58 |
+ # Disable btop optimization flags, since we have our flags in CXXFLAGS |
59 |
+ emake \ |
60 |
+ OPTFLAGS="" |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ emake \ |
65 |
+ PREFIX="${EPREFIX}/usr" \ |
66 |
+ DESTDIR="${D}" \ |
67 |
+ install |
68 |
+ |
69 |
+ dodoc README.md CHANGELOG.md |
70 |
+} |
71 |
|
72 |
diff --git a/sys-process/btop/metadata.xml b/sys-process/btop/metadata.xml |
73 |
new file mode 100644 |
74 |
index 000000000..9997c2e86 |
75 |
--- /dev/null |
76 |
+++ b/sys-process/btop/metadata.xml |
77 |
@@ -0,0 +1,8 @@ |
78 |
+<?xml version="1.0" encoding="UTF-8"?> |
79 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
80 |
+<pkgmetadata> |
81 |
+ <maintainer type="person"> |
82 |
+ <email>nex+b-g-o@××××××.de</email> |
83 |
+ <name>Adrian Schollmeyer</name> |
84 |
+ </maintainer> |
85 |
+</pkgmetadata> |