Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit base cmake-multilib |
7 |
inherit base cmake-multilib vcs-snapshot |
8 |
|
8 |
|
9 |
DESCRIPTION="Small event-driven (SAX-style) JSON parser" |
9 |
DESCRIPTION="Small event-driven (SAX-style) JSON parser" |
10 |
HOMEPAGE="http://lloyd.github.com/yajl/" |
10 |
HOMEPAGE="http://lloyd.github.com/yajl/" |
Lines 19-29
PATCHES=(
Link Here
|
19 |
"${FILESDIR}"/${PN}-fix_static_linking.patch |
19 |
"${FILESDIR}"/${PN}-fix_static_linking.patch |
20 |
) |
20 |
) |
21 |
|
21 |
|
22 |
src_unpack() { |
|
|
23 |
unpack ${A} |
24 |
mv "${WORKDIR}"/lloyd-${PN}-* "${S}" |
25 |
} |
26 |
|
27 |
src_test() { |
22 |
src_test() { |
28 |
emake -C ${CMAKE_BUILD_DIR} test |
23 |
multilib_foreach_abi run_in_build_dir emake test |
29 |
} |
24 |
} |