blob: 840b0d470f9e57aa5ccb7525e447177d42ccb1c8 (
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
34
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
COMMIT="c28e27bc4ad8e12d88b05f30eec19b2987c60721"
DESCRIPTION="Kitware System Library"
HOMEPAGE="https://gitlab.kitware.com/utils/kwsys"
SRC_URI="https://gitlab.kitware.com/utils/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DKWSYS_INSTALL_BIN_DIR=bin
-DKWSYS_INSTALL_INCLUDE_DIR=include
-DKWSYS_INSTALL_LIB_DIR=$(get_libdir)
-DKWSYS_STANDALONE=ON
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}
|