You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit 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 x86"
|
|
|
|
|
|
|
|
# The 'libck.so' has a name collision.
|
|
|
|
# See #616762 for more information.
|
|
|
|
RDEPEND="!sys-cluster/charm"
|
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/${P}-ar.patch"
|
|
|
|
"${FILESDIR}/${P}-glibc-2.30.patch"
|
|
|
|
"${FILESDIR}/${P}-gzip.patch"
|
|
|
|
"${FILESDIR}/${P}-static-libs.patch"
|
|
|
|
)
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
tc-export AR CC LD
|
|
|
|
$(usex x86 'export PROFILE=x86' '')
|
|
|
|
|
|
|
|
local myeconfargs=(
|
|
|
|
"--disable-static"
|
|
|
|
)
|
|
|
|
|
|
|
|
GZIP="" econf ${myeconfargs[@]}
|
|
|
|
}
|