mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-libs/cminpack: Drop 1.3.5
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cminpack-1.3.5.tar.gz 312932 BLAKE2B 52ab91490f7c569e3931346510e08db55166322399736ceb9cc090a3be3624e8db6de12ed33ee8f97f6c5358dc2488f8aa7c7aab81365316f1dbb8948e669a2e SHA512 bb6f1764d90ccc7cbbb114a509f5416567246a730e4329617671e01b535b3a69f6a6df0483810ad1ad28228a1061a3595a15d437647b94a8a2013203905c6fed
|
||||
DIST cminpack-1.3.8.tar.gz 341494 BLAKE2B 5aebb220f9d5d1b314331a621d3717e4568eea6c37d0a70b935eda1fc0bec11d81b07c8951c8a8bfe5edd81e7878e138f8921d96a96c40230bfc423991e766be SHA512 0cab275074a31af69dbaf3ef6d41b20184c7cf9f33c78014a69ae7a022246fa79e7b4851341c6934ca1e749955b7e1096a40b4300a109ad64ebb1b2ea5d1d8ae
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
|
||||
HOMEPAGE="http://devernay.free.fr/hacks/cminpack/"
|
||||
SRC_URI="https://github.com/devernay/cminpack/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="minpack"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-underlinking.patch )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMINPACK_LIB_INSTALL_DIR=$(get_libdir)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_EXAMPLES=$(usex test)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
use test && export LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dodoc readme*
|
||||
use doc && dodoc -r doc/*
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
--- a/CMakeLists.txt 2016-12-29 03:57:50.652989816 +0000
|
||||
+++ b/CMakeLists.txt 2016-12-29 03:58:33.882632282 +0000
|
||||
@@ -59,6 +59,7 @@
|
||||
cminpack.h minpack.h)
|
||||
|
||||
add_library (cminpack ${cminpack_srcs})
|
||||
+target_link_libraries (cminpack m)
|
||||
|
||||
install (TARGETS cminpack
|
||||
LIBRARY DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library
|
||||
Reference in New Issue
Block a user