diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest index 9728180..f9af847 100644 --- a/dev-libs/libtommath/Manifest +++ b/dev-libs/libtommath/Manifest @@ -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 diff --git a/dev-libs/libtommath/libtommath-1.0.1.ebuild b/dev-libs/libtommath/libtommath-1.1.0.ebuild similarity index 70% rename from dev-libs/libtommath/libtommath-1.0.1.ebuild rename to dev-libs/libtommath/libtommath-1.1.0.ebuild index 6da1ca8..18add6c 100644 --- a/dev-libs/libtommath/libtommath-1.0.1.ebuild +++ b/dev-libs/libtommath/libtommath-1.1.0.ebuild @@ -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 -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" -HOMEPAGE="https://github.com/libtom/libtommath" +DESCRIPTION="Optimized and portable routines for integer theoretic applications" +HOMEPAGE="http://www.libtom.net/" SRC_URI="https://github.com/libtom/libtommath/releases/download/v${PV}/ltm-${PV}.tar.xz" LICENSE="WTFPL-2" 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" -DEPEND="sys-devel/libtool" - src_prepare() { default # need libtool for cross compilation. Bug #376643 @@ -28,6 +26,7 @@ src_prepare() { EOF touch NEWS README AUTHORS ChangeLog Makefile.am eautoreconf + export LIBTOOL="${S}"/libtool multilib_copy_sources } @@ -58,9 +57,12 @@ src_test() { } 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. - 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