mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-libs/kwsys: new package, add 0_pre20220603
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
36
dev-libs/kwsys/kwsys-0_pre20220603.ebuild
Normal file
36
dev-libs/kwsys/kwsys-0_pre20220603.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user