mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-libs/double-conversion: Drop 2.0.1, scons--
Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST double-conversion-2.0.1.tar.gz 7014148 BLAKE2B df8df63f601076bd827ef95b2a2cde8bec6a85fb6ee81a879556481a168c2a101b3ca130ed6f45ca515281ea139e4a607a03934b05fc0a2fe5bacdf56033f2b3 SHA512 a4773dc95e9267d8426dda976586aa1ba968ead28b118caae9b1b7c123d1eea4aba5b588fde9a109a99a068a79a3a2426f12d6caadea8c548d4250e56eff33a4
|
||||
DIST double-conversion-3.0.0.tar.gz 7019526 BLAKE2B 631973dadefa8bbf7e4acffd44968dfbf6b7dbeeb045fbbe0df7824a890991f510131647a52646fcd2b069b8b886a7b66a82434b829bdcb58bd8f503fecc7d18 SHA512 5057af6e72f2aaace56ebdd9a0ddfa34318cbdfeabec5c361b60e6c92f160c8999c046c50f8c6f8d590eb8e97aa70bb6e97ba8148f0dc95dbc42f204fcdc1abf
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit scons-utils eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Binary-decimal and decimal-binary conversion routines for IEEE doubles"
|
||||
HOMEPAGE="https://github.com/google/double-conversion"
|
||||
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
LIBNAME=lib${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-scons.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
sed -i -e "s/g++/$(tc-getCXX)/" SConstruct || die
|
||||
escons ${LIBNAME}.so.1
|
||||
use static-libs && escons ${LIBNAME}.a
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons run_tests
|
||||
export LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}"
|
||||
./run_tests --list | tr -d '<' | xargs ./run_tests || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so ${LIBNAME}.so*
|
||||
use static-libs && dolib.a ${LIBNAME}.a
|
||||
insinto /usr/include/double-conversion
|
||||
doins src/{double-conversion,utils}.h
|
||||
dodoc README Changelog AUTHORS
|
||||
}
|
||||
Reference in New Issue
Block a user