dev-libs/libtomfloat: drop old EAPI

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2019-11-29 17:18:15 -05:00
parent 15ac00fe48
commit b17b19b933

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit toolchain-funcs multilib
DESCRIPTION="library for floating point number manipulation"
HOMEPAGE="http://www.libtom.net/"
SRC_URI="https://github.com/libtom/libtomfloat/releases/download/${PV}/ltf-${PV}.tar.bz2"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="dev-libs/libtommath"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i \
-e 's:\<ar\>:$(AR):' \
-e 's:\<ranlib\>:$(RANLIB):' \
-e "/^LIBPATH/s:/lib:/$(get_libdir):" \
makefile || die
tc-export AR CC RANLIB
}
src_install() {
default
dodoc changes.txt *.pdf WARNING
docinto demos ; dodoc demos/*
}