1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake-multilib vcs-snapshot
8 DESCRIPTION="Small event-driven (SAX-style) JSON parser"
9 HOMEPAGE="https://lloyd.github.com/yajl/"
10 SRC_URI="https://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz"
14 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
17 PATCHES=( "${FILESDIR}"/${P}-uclibc.patch )
20 cmake-utils_src_prepare
27 cd "${BUILD_DIR}"/test/parsing
28 ./run_tests.sh ./yajl_test || die
30 multilib_parallel_foreach_abi run_test
34 cmake-multilib_src_install
37 find "${D}" -name libyajl_s.a -delete