Updated flatcam and dependency galore / minor updates to other ebuilds
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DIST scipoptsuite-8.0.2.tgz 16795624 BLAKE2B 08c0bbe76df4aaca94716a8c0471be42024b89482dd3ae793086dd9ef66ccc09ec8504b72a7ef817d1bcec5dfbc39a562c6b7e622ede70e21f6a94bcac838bb3 SHA512 c5aece42b7a8618be6902f5b7ccb7a41f29be33d666d8d8561c338fd6c91599fed7824c72b366c7bb18f237a3470e0c5a188d54d9e5fd145d3d1830fdde1bdb5
|
||||
EBUILD scipoptsuite-8.0.2.ebuild 2207 BLAKE2B ef0aed4dacf5223c54c0d1c837ae7999817be5fd942a33de4d312d4775251b8f4f80d1fec67226efe926006d39f1d360145330a3184f622b191c5d1ee9657423 SHA512 e006f2107b0786736c49bec0870d5e52487c387f4b62f330e81135da2c00c92e59256e50cc53c6e8e93d92fa83786d9de320afa82b2cfc263efe12975b3f240d
|
||||
@@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="SCIP Optimization Suite"
|
||||
HOMEPAGE="https://scipopt.org"
|
||||
|
||||
SRC_URI="https://scipopt.org/${P}.tgz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
LICENSE="GPL-2+ GPL-3+ Boost-1.0 BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
!sci-libs/bliss
|
||||
dev-libs/gmp
|
||||
sci-libs/metis
|
||||
sci-libs/mumps[metis]
|
||||
sci-libs/ipopt[mumps]
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Sanitize library installation paths
|
||||
sed -i -e 's@BINARY_DIR}/lib@BINARY_DIR}/'"$(get_libdir)"'@' \
|
||||
-e 's@CMAKE_INSTALL_PREFIX}/lib@CMAKE_INSTALL_PREFIX}/'"$(get_libdir)"'@' \
|
||||
"${S}"/soplex/CMakeLists.txt \
|
||||
"${S}"/soplex/src/CMakeLists.txt \
|
||||
"${S}"/scip/src/bliss/CMakeLists.txt \
|
||||
"${S}"/scip/src/CMakeLists.txt \
|
||||
"${S}"/scip/CMakeLists.txt \
|
||||
"${S}"/ug/CMakeLists.txt \
|
||||
"${S}"/zimpl/CMakeLists.txt \
|
||||
"${S}"/gcg/CMakeLists.txt \
|
||||
"${S}"/gcg/src/CMakeLists.txt \
|
||||
"${S}"/papilo/CMakeLists.txt \
|
||||
"${S}"/papilo/binaries/CMakeLists.txt \
|
||||
|| die "Sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cmake_src_configure
|
||||
|
||||
# Sanitize library installation paths
|
||||
sed -i -e 's@INSTALL_PREFIX}/lib@INSTALL_PREFIX}/'"$(get_libdir)"'@' \
|
||||
"${S}"_build/soplex/src/cmake_install.cmake \
|
||||
"${S}"_build/scip/src/cmake_install.cmake \
|
||||
"${S}"_build/scip/src/bliss/cmake_install.cmake \
|
||||
"${S}"_build/papilo/cmake_install.cmake \
|
||||
"${S}"_build/zimpl/src/cmake_install.cmake \
|
||||
"${S}"_build/gcg/src/cmake_install.cmake \
|
||||
|| die "Sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# Sanitize library installation paths
|
||||
sed -i -e 's@/usr/lib@/usr/'"$(get_libdir)"'@' \
|
||||
-e 's@_PREFIX}/lib@_PREFIX}/'"$(get_libdir)"'@g' \
|
||||
"${D}"/usr/$(get_libdir)/cmake/Bliss/BlissConfig{,-gentoo}.cmake \
|
||||
"${D}"/usr/$(get_libdir)/cmake/gcg/gcg-targets{,-gentoo}.cmake \
|
||||
"${D}"/usr/$(get_libdir)/cmake/papilo/papilo-targets{,-gentoo}.cmake \
|
||||
"${D}"/usr/$(get_libdir)/cmake/scip/scip-targets{,-gentoo}.cmake \
|
||||
"${D}"/usr/$(get_libdir)/cmake/soplex/soplex-targets{,-gentoo}.cmake \
|
||||
"${D}"/usr/$(get_libdir)/cmake/zimpl/zimpl-targets{,-gentoo}.cmake \
|
||||
|| die "Sed failed"
|
||||
}
|
||||
Reference in New Issue
Block a user