summaryrefslogtreecommitdiff
path: root/sys-apps/hprofile/hprofile-6.1.3-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/hprofile/hprofile-6.1.3-r1.ebuild')
-rw-r--r--sys-apps/hprofile/hprofile-6.1.3-r1.ebuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-apps/hprofile/hprofile-6.1.3-r1.ebuild b/sys-apps/hprofile/hprofile-6.1.3-r1.ebuild
new file mode 100644
index 000000000000..b928e6c0c06c
--- /dev/null
+++ b/sys-apps/hprofile/hprofile-6.1.3-r1.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
+}