diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-04 21:14:48 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-04 21:14:48 +0000 |
commit | 2997df5d95cb64694ec91d50c93407e92c68e2a8 (patch) | |
tree | 4cc7277d0f8e23337b953de5f5b0a374ca2366e5 /sci-mathematics/lpsolve | |
parent | 0a18aff6704a42e6affa21ec92064d29fc7f8646 (diff) |
gentoo auto-resync : 04:02:2023 - 21:14:48
Diffstat (limited to 'sci-mathematics/lpsolve')
-rw-r--r-- | sci-mathematics/lpsolve/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild (renamed from sci-mathematics/lpsolve/lpsolve-5.5.2.11-r1.ebuild) | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/sci-mathematics/lpsolve/Manifest b/sci-mathematics/lpsolve/Manifest index 8dccd5043acb..110146bf4950 100644 --- a/sci-mathematics/lpsolve/Manifest +++ b/sci-mathematics/lpsolve/Manifest @@ -2,5 +2,5 @@ AUX lpsolve-5.5.2.11-misc.patch 17012 BLAKE2B f766dd655fcd8d181ae5f3749c04cf4e3b DIST lp_solve_5.5.2.11_source.tar.gz 556506 BLAKE2B 4c5b53ddadc9db2cbfb78fee141505ced17719f6bd7c780720c6960cc902165c7c3cffbadd048ad5d61ba3951fd65fd6ac08b8d1874dd57c7ac41a168bccd260 SHA512 24f5a14d0c77a71e1ab3f46e08ea3f85f2f116ae2d3d2c54acddc5fb138251ba258240284060827e1b8b7ef15d580acecc242329ec775802fe5e8028407499bc DIST lpsolve-5.5.2.0.tar.xz 737000 BLAKE2B 912690a7e4ed5fd5d475f322f5c168554fb3d47281545f42d2383ccbe72b3cb0036f72878c94899889972e266e9cf6ad73e59ac1e822deae753ae5b31a00c9b8 SHA512 341bff74dccf805cfd3aa4ee844a51f3c46ce875e88b1bf079a6ff0074f7cbd27420ec9c6a66a2530098a85c967457214543895651f4c570b956324a51bb9fe6 EBUILD lpsolve-5.5.2.0-r1.ebuild 514 BLAKE2B 283f94706a8f16d1afd8dbbcc9ac2a74a51aa8f28531d9402b22c255bc0b9f0b52f593696c2259439ecbddce544b1399baad2c9ead36be5ba9ea948aa825ddca SHA512 754d585a53e8e31f0cabfe16f8de82848f4a89b58749698732f8e46f0bf21a87f48a91e4d1237e82e13f8ce0dbeb2eeec8fa45eb053349e4862837aa9d12e4ac -EBUILD lpsolve-5.5.2.11-r1.ebuild 880 BLAKE2B b9ac827bfdd0d517aefdc1e1ff2fce7e9c45bd67e5e110b016855cb2a10ac530e0056749bebb8c59bbeec8c81c0f289012cafa705b3a17976493fea26d4abe9f SHA512 a4c099e826c01c525530414c7774eaae9dffa579d3ee66f189c48150742a7cebf16ffa074516c59fd00b9645728b3472168c277ce4f0a0b6cb243f313ed93da8 +EBUILD lpsolve-5.5.2.11-r2.ebuild 1240 BLAKE2B 141e7935361bc2ce1add0ac5f4a7d9b9a9598481a245de4609a4a60abf85deb0f32ce4260bdba09c0d33e930fc7b1e4d798ed5ec4318250ba8d31cb50554e370 SHA512 ed0d38c767b148e961e0310fb87e45d6fef850ae2b4a2cf5d7bf9d0316f26fffc393a2522a000c2efdc7ec93bef2f17df18c3081ae663b7df30f562a7573254c MISC metadata.xml 463 BLAKE2B f175dce49b24cb9d330a39f29ab07fa821c098aa0f74ed122b51c91bc8cc50e9eb6c60f3267cdab3c523427c25bc1ef6f70f1b34580829c8fa3266b4cbda6265 SHA512 49f10a80ef197ffaff9be05ec05c0a76a9d3c571e88d2c15148f93ffdbd79c280682801a57c11d61a3b230c38434699612ca1448d40d721e59234ffc8fae857e diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r1.ebuild b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild index 3e8f059ed599..adb1c37d72e4 100644 --- a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r1.ebuild +++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/lp_solve_${PV}_source.tar.gz" S="${WORKDIR}"/lp_solve_$(ver_cut 1-2) LICENSE="LGPL-2.1" -SLOT="0" +SLOT="0/55" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" DEPEND="sci-libs/colamd" @@ -21,6 +21,17 @@ PATCHES=( "${FILESDIR}"/${PN}-5.5.2.11-misc.patch ) +src_prepare() { + default + + local actual_soname=$(grep -iEo -- "-soname,liblpsolve([A-z0-9]+)" lpsolve*/ccc | sed -e 's:-soname,liblpsolve::') + if [[ ${actual_soname} != ${SLOT##*/} ]] ; then + eerror "Actual SONAME: ${actual_soname}" + eerror "Expected SONAME: ${SLOT##*/}" + die "Expected SONAME not found! Please update the subslot in the ebuild!" + fi +} + src_compile() { tc-export AR CC RANLIB LD |