[dev-libs/libtommath] version bump to 1.1.0

This commit is contained in:
Robert Förster 2019-03-22 00:08:59 +01:00
parent 0ca2616b22
commit 3d497b25ea
2 changed files with 13 additions and 11 deletions

View File

@ -1 +1 @@
DIST ltm-1.0.1.tar.xz 2210120 BLAKE2B e616f0359a1fffe8e1280dc24df1a83eb568d55f9f8acd0e4016fdd63b8ef10d939a8acbd4d49d70a69adf0e492ea5127200798f02af6af1c30e2e1f57870e3a SHA512 f98f7b0f91268e898803478fd52f578f476d378d096a25e48fa2e291159dc89bd1a6dc7d8c5c2254df840c731e5d009ec9728b72190318b6d1ba2916f5c66fb6 DIST ltm-1.1.0.tar.xz 2125456 BLAKE2B 3aca7993704341f6a81e7fbef35389ac8ecd957dd78b5d576f0305d37493c3ddc32462cd787de2fb67d8e165417b18fcfde70accf991cd9433ff87591d8265ac SHA512 6d1b8b09d5b975a2b84ef6ab9cb1cc63db2f0503a906e499cb9d7eaba3f487be6e7f69bf692b188f888418c61ea563aa7e2411638d8979eac426b3d603ad1b91

View File

@ -1,21 +1,19 @@
# Copyright 1999-2017 Gentoo Foundation # Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=7
inherit autotools eutils multilib-minimal toolchain-funcs inherit autotools multilib-minimal toolchain-funcs
DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications" DESCRIPTION="Optimized and portable routines for integer theoretic applications"
HOMEPAGE="https://github.com/libtom/libtommath" HOMEPAGE="http://www.libtom.net/"
SRC_URI="https://github.com/libtom/libtommath/releases/download/v${PV}/ltm-${PV}.tar.xz" SRC_URI="https://github.com/libtom/libtommath/releases/download/v${PV}/ltm-${PV}.tar.xz"
LICENSE="WTFPL-2" LICENSE="WTFPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc examples static-libs" IUSE="doc examples static-libs"
DEPEND="sys-devel/libtool"
src_prepare() { src_prepare() {
default default
# need libtool for cross compilation. Bug #376643 # need libtool for cross compilation. Bug #376643
@ -28,6 +26,7 @@ src_prepare() {
EOF EOF
touch NEWS README AUTHORS ChangeLog Makefile.am touch NEWS README AUTHORS ChangeLog Makefile.am
eautoreconf eautoreconf
export LIBTOOL="${S}"/libtool
multilib_copy_sources multilib_copy_sources
} }
@ -58,9 +57,12 @@ src_test() {
} }
src_install() { src_install() {
multilib_foreach_abi _emake DESTDIR="${ED}" install multilib_foreach_abi _emake DESTDIR="${D}" install
# We only link against -lc, so drop the .la file. # We only link against -lc, so drop the .la file.
find "${ED}" -name '*.la' -delete find "${ED}" -name '*.la' -delete || die
if ! use static-libs ; then
find "${ED}" -name "*.a" -delete || die
fi
dodoc changes.txt dodoc changes.txt