diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
commit | 71deace00d1a2b091313fe137ab7092418c6f87c (patch) | |
tree | 9f1f0dee23e13658e52f49437befe78427148c51 /dev-libs/libtommath | |
parent | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff) |
gentoo resync : 10.02.2020
Diffstat (limited to 'dev-libs/libtommath')
-rw-r--r-- | dev-libs/libtommath/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch | 47 | ||||
-rw-r--r-- | dev-libs/libtommath/libtommath-0.42.0-r1.ebuild | 65 | ||||
-rw-r--r-- | dev-libs/libtommath/libtommath-1.0.1.ebuild | 72 |
4 files changed, 0 insertions, 189 deletions
diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest index b75ab8bfa3cf..f676ad891b1c 100644 --- a/dev-libs/libtommath/Manifest +++ b/dev-libs/libtommath/Manifest @@ -1,8 +1,3 @@ -AUX libtommath-0.42.0-makefile.patch 1694 BLAKE2B 37c2e368bb4f2d6f7738e3f110bb55686983fb701c4eb3513fd1779572a8d8449a305e34c2194fa07fe7b74a63572addb764f3ba8c7cd3285a25c5502c25f842 SHA512 3ba5253df119d57e598167d4ea0c3cbc000c50395598a953462d24e21832d41bdb16631688a99266f533e133fa39a58cc271e32d05e61b3756697ddb06898999 -DIST libtommath-0.42.0.tar.gz 1732144 BLAKE2B 624697bfa0bab0244783c3d2c92df2a1c0418611dc7f25989d038a5689beae325a426d8de38967ec856bd1e6f2d9413615333eebbf9316add838deda5b122de3 SHA512 d26e7737e5750530a7b96432502f0d458931e67af528872c46ad8dfc921b8f6ef4b3e05cb07d22bd13a8b24db65812928ae4c381250a4df95f6ca55efc3dae23 -DIST ltm-1.0.1.tar.xz 2210120 BLAKE2B e616f0359a1fffe8e1280dc24df1a83eb568d55f9f8acd0e4016fdd63b8ef10d939a8acbd4d49d70a69adf0e492ea5127200798f02af6af1c30e2e1f57870e3a SHA512 f98f7b0f91268e898803478fd52f578f476d378d096a25e48fa2e291159dc89bd1a6dc7d8c5c2254df840c731e5d009ec9728b72190318b6d1ba2916f5c66fb6 DIST ltm-1.1.0.tar.xz 2125456 BLAKE2B 3aca7993704341f6a81e7fbef35389ac8ecd957dd78b5d576f0305d37493c3ddc32462cd787de2fb67d8e165417b18fcfde70accf991cd9433ff87591d8265ac SHA512 6d1b8b09d5b975a2b84ef6ab9cb1cc63db2f0503a906e499cb9d7eaba3f487be6e7f69bf692b188f888418c61ea563aa7e2411638d8979eac426b3d603ad1b91 -EBUILD libtommath-0.42.0-r1.ebuild 1415 BLAKE2B 8a60c97932394540e696c4690510f5ea7b61649c04bee0e1df526ec460344ad693539dfe4fa8fb1a48095eb76faddd7a7a0d64908a0416ecf11f61dc84ecb8d4 SHA512 9df0399d9a9aaf4206ef2074efa02e84eae6c957fc3342203de199b74548f554f930eeee2d759df36baeb32d2de5564f5f0c533b024e4fd4418d7dcb74db898b -EBUILD libtommath-1.0.1.ebuild 1485 BLAKE2B 0b5c4ba53bfe781804588a997a4cff542c269fdb6c0044fa2666b0eb523f7b6ab2de82e8ff8600f9331d2bf3c869eb1163cacf5eb843a5af4a694af6123df0e0 SHA512 be54807025371e26e1040e50b6b29a31ec1de08e4b0c4da0c85507ee8ea6410237633b4cd735ad9c6e7e830081fdc93a147ec4a43a4b2d1c7c58abfa1e76bda7 EBUILD libtommath-1.1.0.ebuild 1515 BLAKE2B 394980d8ee01eccd82a3f9b49ce61570cea348ac4508662489a0918c2950c4d55b749e32b24b17c52434d9b249abeb112e2c35898e8041abb4c4d2f59375dd5c SHA512 be507edafbc2b683a80474aba78516a7e3475381d9dbc74a62c2e3b54f5275d64572b639c32e53d17a2d1c4ddd3f54300decc424f01fd203d09472c9352414f4 MISC metadata.xml 2967 BLAKE2B 8adab466c3bf4d4e4b2368e56c7cf35c6a0e03f0dc9a237070e56bc224333876accb0c229d520f863041c0ee48b380225121d47554bb5aa511ff5689dd0e4e9b SHA512 73ce667c4bd2943f848274ee3952961d8b09c2c1faa4920cb74f9d8630470119c7e55a112b3c7dc2243c3746f75fa15db5c143e05e6739d2c9c19536f09a937f diff --git a/dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch b/dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch deleted file mode 100644 index b3f1ed6252c8..000000000000 --- a/dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- makefile.shared -+++ makefile.shared -@@ -3,7 +3,8 @@ - #Tom St Denis - VERSION=0:41 - --CC = libtool --mode=compile --tag=CC gcc -+LT ?= libtool -+LTCOMPILE = $(LT) --mode=compile --tag=CC $(CC) - - CFLAGS += -I./ -Wall -W -Wshadow -Wsign-compare - -@@ -82,21 +83,24 @@ - - objs: $(OBJECTS) - -+%.lo: %.c -+ $(LTCOMPILE) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< -+ --$(LIBNAME): $(OBJECTS) -- libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) -+$(LIBNAME): $(OBJECTS:.o=.lo) -+ $(LT) --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) - - install: $(LIBNAME) -- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) -- libtool --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME) -- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH) -- install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH) -+ install -d $(DESTDIR)$(LIBPATH) -+ $(LT) --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME) -+ install -d $(DESTDIR)$(INCPATH) -+ install -m 644 $(HEADERS) $(DESTDIR)$(INCPATH) - - test: $(LIBNAME) demo/demo.o -- gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o -- libtool --mode=link gcc -o test demo/demo.o $(LIBNAME_S) -+ $(CC) $(CFLAGS) $(CPPFLAGS) -c demo/demo.c -o demo/demo.o -+ $(LT) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o test demo/demo.o $(LIBNAME_S) - - mtest: test -- cd mtest ; gcc $(CFLAGS) mtest.c -o mtest -+ cd mtest ; $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) mtest.c -o mtest - - timing: $(LIBNAME) -- gcc $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest -+ $(LT) --mode=link $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest diff --git a/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild b/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild deleted file mode 100644 index a1596d889e30..000000000000 --- a/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit autotools eutils multilib toolchain-funcs - -DESCRIPTION="Optimized and portable routines for integer theoretic applications" -HOMEPAGE="https://github.com/libtom/libtommath" -SRC_URI="https://github.com/libtom/libtommath/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="WTFPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc examples static-libs" - -DEPEND="sys-devel/libtool" -RDEPEND="" - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - - # need libtool for cross compilation. Bug #376643 - cat <<-EOF > configure.ac - AC_INIT(libtommath, 0) - AM_INIT_AUTOMAKE - LT_INIT - AC_CONFIG_FILES(Makefile) - AC_OUTPUT - EOF - touch NEWS README AUTHORS ChangeLog Makefile.am - eautoreconf - export LT="${S}"/libtool -} - -src_configure() { - econf $(use_enable static-libs static) -} - -_emake() { - emake CC="$(tc-getCC)" -f makefile.shared \ - IGNORE_SPEED=1 \ - LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ - INCPATH="${EPREFIX}/usr/include" \ - "$@" -} - -src_compile() { - _emake -} - -src_install() { - _emake DESTDIR="${ED}" install - # We only link against -lc, so drop the .la file. - find "${ED}" -name '*.la' -delete - - dodoc changes.txt - - use doc && dodoc *.pdf - - if use examples ; then - docinto demo - dodoc demo/*.c - fi -} diff --git a/dev-libs/libtommath/libtommath-1.0.1.ebuild b/dev-libs/libtommath/libtommath-1.0.1.ebuild deleted file mode 100644 index 8f04224dc876..000000000000 --- a/dev-libs/libtommath/libtommath-1.0.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils multilib toolchain-funcs - -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-linux ~x86-linux ~ppc-macos" -IUSE="doc examples static-libs" - -DEPEND="sys-devel/libtool" - -src_prepare() { - default - # need libtool for cross compilation. Bug #376643 - cat <<-EOF > configure.ac - AC_INIT(libtommath, 0) - AM_INIT_AUTOMAKE - LT_INIT - AC_CONFIG_FILES(Makefile) - AC_OUTPUT - EOF - touch NEWS README AUTHORS ChangeLog Makefile.am - eautoreconf - export LT="${S}"/libtool -} - -src_configure() { - econf $(use_enable static-libs static) -} - -_emake() { - emake \ - CC="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - -f makefile.shared \ - IGNORE_SPEED=1 \ - LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ - INCPATH="${EPREFIX}/usr/include" \ - "$@" -} - -src_compile() { - _emake -} - -src_test() { - _emake test_standalone - ./test || die -} - -src_install() { - _emake DESTDIR="${D}" install - # We only link against -lc, so drop the .la file. - find "${ED}" -name '*.la' -delete - - dodoc changes.txt - - use doc && dodoc *.pdf - - if use examples ; then - docinto demo - dodoc demo/*.c - fi -} |