dev-libs/libtomfloat: a few QA fixes

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman 2019-11-29 17:17:47 -05:00
parent 5cc0fc86d1
commit 15ac00fe48
No known key found for this signature in database
GPG Key ID: E32A797FB1D0CB70

View File

@ -6,7 +6,7 @@ EAPI=7
inherit toolchain-funcs
DESCRIPTION="library for floating point number manipulation"
HOMEPAGE="http://www.libtom.net/"
HOMEPAGE="https://www.libtom.net/"
SRC_URI="https://github.com/libtom/libtomfloat/releases/download/${PV}/ltf-${PV}.tar.bz2"
LICENSE="WTFPL-2"
@ -22,12 +22,13 @@ src_prepare() {
-e 's:\<ar\>:$(AR):' \
-e 's:\<ranlib\>:$(RANLIB):' \
-e "/^LIBPATH/s:/lib:/$(get_libdir):" \
makefile || die
makefile || die "Fixing makefile failed"
tc-export AR CC RANLIB
}
src_install() {
default
dodoc changes.txt float.pdf WARNING
docinto demos ; dodoc demos/ex1.c
docinto demos
dodoc demos/ex1.c
}