summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/hprofile')
-rw-r--r--sys-apps/hprofile/Manifest1
-rw-r--r--sys-apps/hprofile/hprofile-6.2.1.ebuild18
2 files changed, 19 insertions, 0 deletions
diff --git a/sys-apps/hprofile/Manifest b/sys-apps/hprofile/Manifest
index a7fb5588700c..2dda018f5247 100644
--- a/sys-apps/hprofile/Manifest
+++ b/sys-apps/hprofile/Manifest
@@ -1 +1,2 @@
DIST hprofile-6.1.3.tar.gz 18719 BLAKE2B 1e70bad6426b73fa03d4c987bc5c585413122462dfd7270f140a78b351633b75d366dd2efd328296f5ad3c78ccafe2182f758e730e6af809e1f16e010f5a93b1 SHA512 33987e1fa61619794c40dce737878a37a7c202e50edcd086fe6b59829908f019438a5dccdbda45eb798e227eb2a6ffd3510788645cd73751baa14b5028f6f670
+DIST hprofile-6.2.1.tar.gz 19249 BLAKE2B 3af40718aaac95219cbf93613eb9c121890f3dba40fb64188e04a07549eba1ce11f7891467d0b8293100c45d8806e68bfca7e6a123bbed179f28eecba5d53790 SHA512 efc1fd14d478e6a932e1e7955d389aeac93c598d27e288f663cc88b1fb3f4f47969741f7e1bc4cd6068c6e20930205ec3224f2cfaaf25be7de9ff9914fd2fc79
diff --git a/sys-apps/hprofile/hprofile-6.2.1.ebuild b/sys-apps/hprofile/hprofile-6.2.1.ebuild
new file mode 100644
index 000000000000..b928e6c0c06c
--- /dev/null
+++ b/sys-apps/hprofile/hprofile-6.2.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Utility to manage hardware, network, power or other profiles (fork)"
+HOMEPAGE="https://github.com/tokiclover/hprofile"
+SRC_URI="https://github.com/tokiclover/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ default
+ sed -i '1s:.*:#!/sbin/openrc-run:' hprofile.initd || die
+ sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
+}