1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A C library that exports various synchronization primitives, such as mutexes"
9 HOMEPAGE="https://github.com/google/nsync"
10 SRC_URI="https://github.com/google/nsync/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
19 multilib_src_configure() {
21 -DBUILD_SHARED_LIBS=ON
22 -DNSYNC_ENABLE_TESTS=$(usex test)
25 cmake-utils_src_configure