blob: 8263011b7d76f6788ced65e4e400b80d7989fb0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A scheduler for CPU tasks"
HOMEPAGE="https://github.com/justanhduc/task-spooler"
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/justanhduc/task-spooler.git"
else
SRC_URI="https://github.com/justanhduc/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/task-spooler-${PV}"
fi
LICENSE="GPL-2"
SLOT="0"
PATCHES=(
"${FILESDIR}"/cmake-bump-minver-2.0.0.patch
)
src_configure() {
local mycmakeargs=(
-DTASK_SPOOLER_COMPILE_CUDA=OFF
)
cmake_src_configure
}
|