1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit scons-utils eutils
9 DESCRIPTION="Binary-decimal and decimal-binary routines forIEEE doubles"
10 HOMEPAGE="https://github.com/google/double-conversion"
11 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
26 epatch "${FILESDIR}"/${P}-scons.patch
30 escons ${LIBNAME}.so.1
31 use static-libs && escons ${LIBNAME}.a
36 export LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}"
37 ./run_tests --list | tr -d '<' | xargs ./run_tests || die
41 dolib.so ${LIBNAME}.so*
42 use static-libs && dolib.a ${LIBNAME}.a
43 insinto /usr/include/double-conversion
44 doins src/{double-conversion,utils}.h
45 dodoc README Changelog AUTHORS