summaryrefslogtreecommitdiff
path: root/sys-process/pipectl/pipectl-0.5.0.ebuild
blob: f03364644170aae82d56feadbaa3d7ea055e7fb2 (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 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"
SLOT="0"
KEYWORDS="~amd64"
IUSE="man"

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

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

	cmake_src_configure
}