summaryrefslogtreecommitdiff
path: root/dev-libs/isl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-libs/isl
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-libs/isl')
-rw-r--r--dev-libs/isl/Manifest2
-rw-r--r--dev-libs/isl/isl-0.23-r1.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/isl/Manifest b/dev-libs/isl/Manifest
index 4889b00c8ca7..aaddfe53152b 100644
--- a/dev-libs/isl/Manifest
+++ b/dev-libs/isl/Manifest
@@ -1,4 +1,6 @@
AUX isl-0.19-gdb-autoload-dir.patch 809 BLAKE2B 59dce21b8f0a7226b7b266eebd6226c0821658a548d6b1f896e58f09b03f703162db287df2f2dcaaebe58bcb76ea7e24075802e6df32581cf5e96f3e43ca1e58 SHA512 396c7c00b00c19a269540abf464f6e30d4473c9413d67a436cd4294b3cb53a5c94ab34e8e5c76c863243437d8754edaf924148596e547ef551e6d72c8122ff27
DIST isl-0.22.1.tar.xz 1676948 BLAKE2B cf1661f785344d8132e8f8a339ed8d457677ca1bf943a597d3d0be1e80d8c42e788cdde79fd073d130d681424da7a8e3ca9fa2cd4cd4232220f5c5a1ce99ab99 SHA512 8dc7b0c14e5bfdca8f2161be51d3c9afcd18bc217bb19b7de01dbba0c6f3fdc2b725fb999f8562c77bf2918d3005c9247f7a58474a6da7697390067944d4d4aa
+DIST isl-0.23.tar.xz 1729656 BLAKE2B ce026eaa1d6c814f4067c555d97a453bdf01d5fa240aa9b6ccd22c9a0e7f19b0c30cd834f976a29b10a5d57eaa747a3f45cf55717f05d98ae405ec93dd42f27b SHA512 da4e7cbd5045d074581d4e1c212acb074a8b2345a96515151b0543cbe2601db6ac2bbd93f9ad6643e98f845b68f438f3882c05b8b90969ae542802a3c78fea20
EBUILD isl-0.22.1.ebuild 1331 BLAKE2B e22315634005c66ad6cb1bc0960d5350233d194044cb7e96bcfdeb97d1228befde5a7f8a699e385e41e09a8420a92d3557f76a1464aa79f8e0235efdeaed244a SHA512 3cb1827059d630d334c22eede743300b0d6b6199525607653b8970bf3b8f4f533ba9c27447f759687643a05975d2a5d7afb8b54354f88c2d3724d50abb898a96
+EBUILD isl-0.23-r1.ebuild 1862 BLAKE2B e7736afdca4453dd17c8ba7b53b8b4419bc110ddd5733ed309f37da37928d79d25303e13cf8fe841168f229cff71d1eb1cc05f957a2edccdf7eafa166ebb0a63 SHA512 45a62ce2c2f08f3f32c91634121e701b13d38a2453c0918c77e0c76b3ad49337aa66e03c62367dd259979b34cd690fcc02662d088837a3032137f80a51d2d37c
MISC metadata.xml 225 BLAKE2B 901efe1bb7f8f4397683b11d3fbf7ce4ede981f34596ac97d8c1bd77589d4732135b23b9791c2af3cae65ca152a706baaa13a17ea5c777090bab0aae0d64a310 SHA512 2997fa08fd2cfcf45753278a609cf2d75076f97848a83f09ff57b5cb71599495736a3a43f47ad24e1e3940bd937bf37592eff1d917e23f647995daf456e87d73
diff --git a/dev-libs/isl/isl-0.23-r1.ebuild b/dev-libs/isl/isl-0.23-r1.ebuild
new file mode 100644
index 000000000000..ee79d99fae15
--- /dev/null
+++ b/dev-libs/isl/isl-0.23-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit multilib-minimal preserve-libs toolchain-funcs
+
+DESCRIPTION="A library for manipulating integer points bounded by linear constraints"
+HOMEPAGE="http://isl.gforge.inria.fr/"
+SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/23"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+DOCS=( ChangeLog AUTHORS doc/manual.pdf )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.19-gdb-autoload-dir.patch
+)
+
+multilib_src_configure() {
+ local econf_opts=(
+ $(use_enable static-libs static)
+
+ # AX_PROG_CC_FOR_BUILD deficiency:
+ # https://wiki.gentoo.org/wiki/Project:Toolchain/use_native_symlinks
+ CC_FOR_BUILD="$(tc-getBUILD_CC)"
+ )
+ if ! tc-is-cross-compiler; then
+ # Incorrect CFLAGS handling as CFLAGS_FOR_BUILD
+ # even for native builds. As a result -O3 is being used
+ # regardless of user's CFLAGS.
+ econf_opts+=(
+ CFLAGS_FOR_BUILD="${CFLAGS}"
+ )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${econf_opts[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name '*.la' -delete
+}
+
+pkg_preinst() {
+ preserve_old_lib \
+ /usr/$(get_libdir)/libisl$(get_libname 14) \
+ /usr/$(get_libdir)/libisl$(get_libname 15) \
+ /usr/$(get_libdir)/libisl$(get_libname 19) \
+ /usr/$(get_libdir)/libisl$(get_libname 21) \
+ /usr/$(get_libdir)/libisl$(get_libname 22)
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify \
+ /usr/$(get_libdir)/libisl$(get_libname 14) \
+ /usr/$(get_libdir)/libisl$(get_libname 15) \
+ /usr/$(get_libdir)/libisl$(get_libname 19) \
+ /usr/$(get_libdir)/libisl$(get_libname 21) \
+ /usr/$(get_libdir)/libisl$(get_libname 22)
+}