Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 686774
Collapse All | Expand All

(-)a/dev-libs/libtomfloat/libtomfloat-0.02-r1.ebuild (+33 lines)
Line 0 Link Here
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit toolchain-funcs
7
8
DESCRIPTION="library for floating point number manipulation"
9
HOMEPAGE="http://www.libtom.net/"
10
SRC_URI="https://github.com/libtom/libtomfloat/releases/download/${PV}/ltf-${PV}.tar.bz2"
11
12
LICENSE="WTFPL-2"
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc ~x86"
15
16
DEPEND="dev-libs/libtommath"
17
RDEPEND="${DEPEND}"
18
19
src_prepare() {
20
	default
21
	sed -i \
22
		-e 's:\<ar\>:$(AR):' \
23
		-e 's:\<ranlib\>:$(RANLIB):' \
24
		-e "/^LIBPATH/s:/lib:/$(get_libdir):" \
25
		makefile || die
26
	tc-export AR CC RANLIB
27
}
28
29
src_install() {
30
	default
31
	dodoc changes.txt *.pdf WARNING
32
	docinto demos ; dodoc demos/*
33
}
(-)a/dev-libs/libtomfloat/libtomfloat-0.02.ebuild (-3 / +3 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI="4"
4
EAPI="4"
Lines 6-13 EAPI="4" Link Here
6
inherit toolchain-funcs multilib
6
inherit toolchain-funcs multilib
7
7
8
DESCRIPTION="library for floating point number manipulation"
8
DESCRIPTION="library for floating point number manipulation"
9
HOMEPAGE="http://libtom.org/"
9
HOMEPAGE="http://www.libtom.net/"
10
SRC_URI="http://libtom.org/files/ltf-${PV}.tar.bz2"
10
SRC_URI="https://github.com/libtom/libtomfloat/releases/download/${PV}/ltf-${PV}.tar.bz2"
11
11
12
LICENSE="WTFPL-2"
12
LICENSE="WTFPL-2"
13
SLOT="0"
13
SLOT="0"

Return to bug 686774