aboutsummaryrefslogtreecommitdiff
blob: 330ad1f94ec00bf9391335142d68687a9ff17bef (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
32
33
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="a simple named pipe management utility"
HOMEPAGE="https://github.com/Ferdi265/pipectl"
SRC_URI="https://github.com/Ferdi265/pipectl/releases/download/v${PV}/pipectl-${PV}.tar.gz"

LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="man"

DEPEND="
	man? (
		app-text/scdoc
	)
"
RDEPEND="${DEPEND}"
BDEPEND=""

src_configure() {
	mycmakeargs=(
		-DBUILD_DOCUMENTATION=$(usex man)
		-DINSTALL_DOCUMENTATION=$(usex man)
	)

	cmake_src_configure
}