mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
sys-apps/corefreq: add version check
-9999 was added without the conditional version check. This commit adds it for ease of use, and maintainability. Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
1 file changed
+11
-2
@@ -3,11 +3,20 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod-r1 systemd toolchain-funcs git-r3
|
||||
inherit linux-mod-r1 systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="CPU monitoring and tuning software designed for 64-bit processors"
|
||||
HOMEPAGE="https://github.com/cyring"
|
||||
EGIT_REPO_URI="https://github.com/cyring/CoreFreq.git"
|
||||
|
||||
if [[ "${PV}" = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/cyring/CoreFreq.git"
|
||||
else
|
||||
SRC_URI="https://github.com/cyring/CoreFreq/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/CoreFreq-${PV}"
|
||||
KEYWORDS="-* ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
Reference in new issue
Block a user