aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2014-05-20 15:15:25 +0200
committerAstroFloyd <AstroFloyd@gmail.com>2014-05-20 15:15:25 +0200
commitcec3f50aedab6d664e0d7462895b0a77edd8f5d2 (patch)
treeeafbf0269302817f3492d2264c2090cd0e07ba5a /sci-libs
parentAdded media-libs/openctm-1.0.3-r1 to repo (diff)
downloadAstroFloyd-cec3f50aedab6d664e0d7462895b0a77edd8f5d2.tar.gz
AstroFloyd-cec3f50aedab6d664e0d7462895b0a77edd8f5d2.tar.bz2
AstroFloyd-cec3f50aedab6d664e0d7462895b0a77edd8f5d2.zip
Added sci-libs/levmar-2.6-r2 to repo
* Added sci-libs/levmar-2.6-r2 to repo: * copied sci-libs/levmar-2.6 from science overlay * removed dependency of sci-libs/plasma Package-Manager: portage-2.2.8-r1
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/levmar/ChangeLog18
-rw-r--r--sci-libs/levmar/Manifest5
-rw-r--r--sci-libs/levmar/files/levmar-2.6-shared.patch12
-rw-r--r--sci-libs/levmar/levmar-2.6-r2.ebuild45
-rw-r--r--sci-libs/levmar/metadata.xml13
5 files changed, 93 insertions, 0 deletions
diff --git a/sci-libs/levmar/ChangeLog b/sci-libs/levmar/ChangeLog
new file mode 100644
index 0000000..daff5bc
--- /dev/null
+++ b/sci-libs/levmar/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for sci-libs/levmar
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*levmar-2.6-r2 (20 May 2014)
+
+ 20 May 2014; AstroFloyd <AstroFloyd@gmail.com> +levmar-2.6-r2.ebuild,
+ +files/levmar-2.6-shared.patch, +metadata.xml:
+ Revision bump to levmar-2.6-r2
+
+ 12 Dec 2012; S├ębastien Fabbro <bicatali@gentoo.org> levmar-2.6.ebuild:
+ sci-libs/levmar: Use virtual/pkgconfig and prefix keywords
+
+*levmar-2.6 (13 Apr 2012)
+
+ 13 Apr 2012; S├ębastien Fabbro <bicatali@gentoo.org>
+ +files/levmar-2.6-shared.patch, +levmar-2.6.ebuild, +metadata.xml:
+ sci-libs/levmar: Initial import
diff --git a/sci-libs/levmar/Manifest b/sci-libs/levmar/Manifest
new file mode 100644
index 0000000..c211966
--- /dev/null
+++ b/sci-libs/levmar/Manifest
@@ -0,0 +1,5 @@
+AUX levmar-2.6-shared.patch 425 SHA256 4656860078a960a86b2bfb69366cc19f29343ab6222d114e3d230d1d08a87963 SHA512 1544ba8d450f383f556f6f140b7b0c15d128bc0e12071f4cd47ae00068d3c67e82c49c4b7525ef3d9af2e3df805f3c749e460c91de652065e2954d6c1ee76109 WHIRLPOOL 02760b358668d8afae7acb7e68aa96d1921b954ea680f3ca6d9858361d1cf386ac017bad2fa00fe2ca3fcde045a90df71ce869a3671410d52b46f2573f090800
+DIST levmar-2.6.tgz 81143 SHA256 3bf4ef1ea4475ded5315e8d8fc992a725f2e7940a74ca3b0f9029d9e6e94bad7 SHA512 5b4c64b63be9b29d6ad2df435af86cd2c2e3216313378561a670ac6a392a51bbf1951e96c6b1afb77c570f23dd8e194017808e46929fec2d8d9a7fe6cf37022b WHIRLPOOL fd9f45474a2fbc57f3a542480271d90a15163edebc6e9b70444f2d9d4c9ad1a3c1301d77cee5c5d41944224c888547c069ee7443a09ff478ea996c3358f81023
+EBUILD levmar-2.6-r2.ebuild 902 SHA256 1bd333e8976c864980076581bb63cdd94cbb735c2050bcb1bdf8b2b80b2f80ca SHA512 b5770882b8a0d9fe5f93eab910327abd6c75cfde564e10aed26a53cb778f36807e5cd40f8a06012db19e1189354e284d7f6dbd92277a3f8b24850c566c55f10a WHIRLPOOL fb63b245d8e9140de49fcb90ab1ff147f125acb6680481f161734b6f8f49eca4534d413c26b661920716407e568b659b86dc22278a15f26daabb84c12f8b4aaf
+MISC ChangeLog 622 SHA256 713a515e5ab3a7cddfbc73b83813ccc2bf704bd710259792c8c144e4868eb420 SHA512 573a538b459af8f8da85f5bf4d684977d41474c8567774503dd99f270b187ecac5f1e249ae9f4d7573b54ec54997465235093773c486ee77b25c7c73541b3a2b WHIRLPOOL f86504704d19463e042e08baf5c2a9ba9df358f9435a7153ef4cbba108fbc2b4245ec8b7cc94b14718a143a34b91bc345e42f80263616e396f923c617461a25d
+MISC metadata.xml 591 SHA256 92eaf61475f3a225f505fa2c3303488895efa6188e53b2de190a72e7990ca4e6 SHA512 9f7268a17892888653231653b316d0574570fca164230e340befe8013ffdab0c98ae64f029bd5fd9e6d59c32f1cbf524ea5fca7d132e4f80875fb5eb9ca3cec3 WHIRLPOOL a28eb2f3f49064151e36a6652553cdd3f1e267e10676cb305f355e521eced33d90ab2ef2fa6d66ed0cfa042688eb5d2b4b9b40feedf7d2165745b6be4e41d778
diff --git a/sci-libs/levmar/files/levmar-2.6-shared.patch b/sci-libs/levmar/files/levmar-2.6-shared.patch
new file mode 100644
index 0000000..e89750c
--- /dev/null
+++ b/sci-libs/levmar/files/levmar-2.6-shared.patch
@@ -0,0 +1,12 @@
+diff -Nur levmar-2.6.orig/CMakeLists.txt levmar-2.6/CMakeLists.txt
+--- levmar-2.6.orig/CMakeLists.txt 2012-04-13 04:53:53.000000000 +0100
++++ levmar-2.6/CMakeLists.txt 2012-04-13 04:54:20.000000000 +0100
+@@ -60,7 +60,7 @@
+ ENDIF(HAVE_PLASMA)
+
+ # levmar library source files
+-ADD_LIBRARY(levmar STATIC
++ADD_LIBRARY(levmar SHARED
+ lm.c Axb.c misc.c lmlec.c lmbc.c lmblec.c lmbleic.c
+ levmar.h misc.h compiler.h
+ )
diff --git a/sci-libs/levmar/levmar-2.6-r2.ebuild b/sci-libs/levmar/levmar-2.6-r2.ebuild
new file mode 100644
index 0000000..4909353
--- /dev/null
+++ b/sci-libs/levmar/levmar-2.6-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils eutils toolchain-funcs
+
+DESCRIPTION="Levenberg-Marquardt nonlinear least squares C library"
+HOMEPAGE="http://www.ics.forth.gr/~lourakis/levmar/"
+SRC_URI="${HOMEPAGE}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ virtual/blas
+ virtual/lapack"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-shared.patch )
+
+src_configure() {
+ local mycmakeargs+=(
+ -DNEED_F2C=OFF
+ -DHAVE_LAPACK=ON
+ -DLAPACKBLAS_LIB_NAMES="$($(tc-getPKG_CONFIG) --libs blas lapack)"
+ $(cmake-utils_use test BUILD_DEMO)
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ cd ${CMAKE_BUILD_DIR}
+ ./lmdemo || die
+}
+
+src_install() {
+ dolib.so ${CMAKE_BUILD_DIR}/liblevmar.so
+ insinto /usr/include
+ doins levmar.h
+}
diff --git a/sci-libs/levmar/metadata.xml b/sci-libs/levmar/metadata.xml
new file mode 100644
index 0000000..d8c2725
--- /dev/null
+++ b/sci-libs/levmar/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ levmar is a native ANSI C implementation of the Levenberg-Marquardt
+ optimization algorithm. Both unconstrained and constrained (under
+ linear equations, inequality and box constraints)
+ Levenberg-Marquardt variants are included. The LM algorithm is an
+ iterative technique that finds a local minimum of a function that is
+ expressed as the sum of squares of nonlinear functions.
+</longdescription>
+</pkgmetadata>