mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-libs/zycore-c: new package, add 1.5.2
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
36
dev-libs/zycore-c/zycore-c-1.5.2.ebuild
Normal file
36
dev-libs/zycore-c/zycore-c-1.5.2.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Zyan Core Library for C"
|
||||
HOMEPAGE="https://github.com/zyantific/zycore-c"
|
||||
SRC_URI="https://github.com/zyantific/zycore-c/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
doc? ( app-text/doxygen )
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.5.2-build-documentation-only-when-requested.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DZYCORE_BUILD_SHARED_LIB=yes
|
||||
|
||||
-DZYCORE_BUILD_DOCS=$(usex doc)
|
||||
-DZYCORE_BUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user