diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/cminpack |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/cminpack')
-rw-r--r-- | sci-libs/cminpack/Manifest | 9 | ||||
-rw-r--r-- | sci-libs/cminpack/cminpack-1.3.4.ebuild | 34 | ||||
-rw-r--r-- | sci-libs/cminpack/cminpack-1.3.5.ebuild | 33 | ||||
-rw-r--r-- | sci-libs/cminpack/files/cminpack-1.2.2-underlinking.patch | 15 | ||||
-rw-r--r-- | sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch | 10 | ||||
-rw-r--r-- | sci-libs/cminpack/metadata.xml | 23 |
6 files changed, 124 insertions, 0 deletions
diff --git a/sci-libs/cminpack/Manifest b/sci-libs/cminpack/Manifest new file mode 100644 index 000000000000..ad02faa1ccc6 --- /dev/null +++ b/sci-libs/cminpack/Manifest @@ -0,0 +1,9 @@ +AUX cminpack-1.2.2-underlinking.patch 448 SHA256 b5018d162a045c16cfdd505686b471b8040666e8ff3ac1e7506c297f9f0a8b59 SHA512 319ad720e9fb2fe369fa398adaffc54d3d84dd5deeefe95dba5f46bb35dbdef9229e45e321129581dca7643a58afc0f366ba662d7f3a8a5ca9a9e1211565c60a WHIRLPOOL 2d0035189c3cc1103a7da09f9694965991829b92de384ed1a92d3068da7548dfa29c2fc896c0f62730ca904b94669c297d3f01080ee10d0ebb727997caf357a9 +AUX cminpack-1.3.5-underlinking.patch 338 SHA256 45d055ec8913bf6f09903f072dc6bd9e1f7adc73bb53e0467b389d94cbc97e17 SHA512 e75edbe045d6936d09a2454504fba6b5b5535424aa1c7603df4b55416e801d27f74f1e2db1038193d36262a12734760138df1c66b6c3d9e6d318f124e7409307 WHIRLPOOL 164710a0c28a48e90c1a9045f044de913cfb016493ef428e096e763fe9bb6bc1fbe6c1c20e2b6bfe2e431af14354745d50f090f16da7e14bbbc6268bfc5601e0 +DIST cminpack-1.3.4.tar.gz 311147 SHA256 3b517bf7dca68cc9a882883db96dac0a0d37d72aba6dfb0c9c7e78e67af503ca SHA512 2221dd710285e4d043ec51b296979686645ee48dad2e4bcbfef3e78ff6e8e02c09575af17edc3e9879cb9b7d4b431f0effe24640a2bdc437e32d0d0710545d7a WHIRLPOOL 460b56dcdac171daf9fda1c43b05654b549f1349babe8dfe5190f2aea98c3c42953ceda12e6dfff49d93958c6aaa0dc8b124477d1a22346e4d0a557dcae692a4 +DIST cminpack-1.3.5.tar.gz 312932 SHA256 a3ab4be6c8a8bab36c6ac7d4322fb0b9c4347a8096fd6c96d1686dc30e4b1afe SHA512 bb6f1764d90ccc7cbbb114a509f5416567246a730e4329617671e01b535b3a69f6a6df0483810ad1ad28228a1061a3595a15d437647b94a8a2013203905c6fed WHIRLPOOL 018b4877d2bbd602503b0055f7570f10b12183ac3a2c4f42cf4aea2ac7bb21556621214b83c4f620b1dc6abd6c79645d6fd5702ef079e1fa79a268616c1190fe +EBUILD cminpack-1.3.4.ebuild 795 SHA256 36147e9b48eb01e09f8406976c742fad0f0b65e46d63c79097f50e8086e128a2 SHA512 9536dc09732dac7601caced01372736c52e6e5ecb32232cb8873959f56594b01d724651dcd49eedfbea2a9bf37492a30188b7bd6170a0983e5194df2b9342729 WHIRLPOOL e5ec2797dab1c214241f407e13e59d3d14e13956217368a8054edd60eb0b727feb1dfea1a2ca704977ec178d35373f86faf729dea7a525733c7c38ec40ab81a0 +EBUILD cminpack-1.3.5.ebuild 821 SHA256 06f781a7c63f0aa85225685173da3f399b40d830fd1fe18a80da85d0a07c3a7a SHA512 211026ea97bf24f287b786f32b27f977be65a6e6d08bfc15b1b16af0e3e25a75a10cdbafe518f62f871d9f2f38e7f10cd528f5fde27bfe74354d96deed2ac68d WHIRLPOOL f71652f3cb399f01cdcf02056bffa4dd6b9b8825bf62f4cc156c92376e5da681ac17eabaaef9751d0339afbf4b4f352ba69d248c65ff03e440101f1834704a9f +MISC ChangeLog 2528 SHA256 6ebae093f2f7c0e0bb7aa6a6115af220250825d7418386d8afda6ec10bdf3f8f SHA512 06b95ad7415bb36f88d61eb2bb5c6c4f8839b693c90517b3624d8f69315fb9db7e924d14324cd71d6094b684b0a3f1c9b902d557b720211d5657f98eac34bcbe WHIRLPOOL 675884da7afc5193db0977409616101842891ccde2516a1681957641b6fbbd1d6a2ec270fe58b5b32a5a2bfcf5a1c1add060dcfae2b249a8cd23952665a2868f +MISC ChangeLog-2015 1705 SHA256 4252533adc957ad62f5676368cf2cc537b1361ad79b2e5e837fbe7288f9a7239 SHA512 65c3f04d8cfe861c1d00e98633eb8a23824e8d824b274b17fb2783fe151e36877ac605dfa44eedc13b16aee9c5dd59fa8f590cde852170bd60287668cd78edb2 WHIRLPOOL 115f22eaca4b479819b1fcea692a7576ca1794c388e809d784372a61f0d8bae58a8f4da7440b59aa8da20a18cea39bb2d5b8de068b94d211c4dc3c8717c2fc69 +MISC metadata.xml 991 SHA256 42002147eab184ebc273754fd3d7c6ece52a6c9fc429fe0827bc69fdf0fef34b SHA512 1cafc14fcabc7ce953d557c501fb26e698656d334d3af80ce3a3a31b99b3c1f6281babf990ce219f697e505fab4c1764e6c90238d55e98ac0e242e521be08193 WHIRLPOOL bf4d1e2f0c0b0ab4b49b6a228500f860e6f95d2eae50f08fe6c1f83c478f00817fe6d2e2fa42d216314d23bea43fa6832b2d86ed57102be55527df466c82ba86 diff --git a/sci-libs/cminpack/cminpack-1.3.4.ebuild b/sci-libs/cminpack/cminpack-1.3.4.ebuild new file mode 100644 index 000000000000..e4845a26287c --- /dev/null +++ b/sci-libs/cminpack/cminpack-1.3.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib + +DESCRIPTION="C implementation of the MINPACK nonlinear optimization library" +HOMEPAGE="http://devernay.free.fr/hacks/cminpack/" +SRC_URI="${HOMEPAGE}/${P}.tar.gz" + +LICENSE="minpack" +SLOT="0/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +PATCHES=( "${FILESDIR}"/${PN}-1.2.2-underlinking.patch ) + +src_configure() { + sed -i \ + -e "/CMINPACK_LIB_INSTALL_DIR/s:lib\(\|64\):$(get_libdir):g" \ + cmake/cminpack_utils.cmake || die + local mycmakeargs+=( + -DSHARED_LIBS=ON + $(cmake-utils_use_build test examples) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc readme* + use doc && dohtml -A .txt doc/* +} diff --git a/sci-libs/cminpack/cminpack-1.3.5.ebuild b/sci-libs/cminpack/cminpack-1.3.5.ebuild new file mode 100644 index 000000000000..7e59ab588eee --- /dev/null +++ b/sci-libs/cminpack/cminpack-1.3.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# 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" + +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/* +} diff --git a/sci-libs/cminpack/files/cminpack-1.2.2-underlinking.patch b/sci-libs/cminpack/files/cminpack-1.2.2-underlinking.patch new file mode 100644 index 000000000000..a042d4c2f72b --- /dev/null +++ b/sci-libs/cminpack/files/cminpack-1.2.2-underlinking.patch @@ -0,0 +1,15 @@ + CMakeLists.txt | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 57394af..5a46a75 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -56,6 +56,7 @@ set (cminpack_hdrs + cminpack.h minpack.h) + + add_library (cminpack ${LIB_TYPE} ${cminpack_srcs}) ++target_link_libraries (cminpack m) + + install (TARGETS cminpack + LIBRARY DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library diff --git a/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch b/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch new file mode 100644 index 000000000000..5133f5fcd4a8 --- /dev/null +++ b/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch @@ -0,0 +1,10 @@ +--- 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 diff --git a/sci-libs/cminpack/metadata.xml b/sci-libs/cminpack/metadata.xml new file mode 100644 index 000000000000..1e24c78f14c1 --- /dev/null +++ b/sci-libs/cminpack/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> +</maintainer> +<longdescription lang="en"> + Minpack includes software for solving nonlinear equations and + nonlinear least squares problems. Five algorithmic paths each + include a core subroutine and an easy-to-use driver. The algorithms + proceed either from an analytic specification of the Jacobian matrix + or directly from the problem functions. The paths include facilities + for systems of equations with a banded Jacobian matrix, for least + squares problems with a large amount of data, and for checking the + consistency of the Jacobian matrix with the functions. + This is the C re-write of the original fortran minpack + implementation. +</longdescription> + <upstream> + <remote-id type="github">devernay/cminpack</remote-id> + </upstream> +</pkgmetadata> |