mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
35 lines
778 B
Bash
35 lines
778 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit flag-o-matic toolchain-funcs
|
|
|
|
MY_PN="ck"
|
|
MY_P="${MY_PN}-${PV}"
|
|
|
|
DESCRIPTION="A library with concurrency related algorithms and data structures in C"
|
|
HOMEPAGE="http://concurrencykit.org"
|
|
SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
LICENSE="Apache-2.0 BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
|
|
|
|
# The 'libck.so' has a name collision.
|
|
# See bug #616762 for more information.
|
|
RDEPEND="!sys-cluster/charm"
|
|
|
|
PATCHES=( "${FILESDIR}/${PN}-0.7.2-strict-aliasing.patch" )
|
|
|
|
src_configure() {
|
|
tc-export AR CC LD
|
|
|
|
local myeconfargs=(
|
|
"--disable-static"
|
|
)
|
|
|
|
GZIP="" econf ${myeconfargs[@]}
|
|
}
|