aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/armadillo/ChangeLog8
-rw-r--r--sci-libs/armadillo/Manifest1
-rw-r--r--sci-libs/armadillo/armadillo-4.600.2.ebuild112
-rw-r--r--sci-libs/arrayfire/ChangeLog8
l---------sci-libs/arrayfire/arrayfire-0.9999.ebuild1
-rw-r--r--sci-libs/arrayfire/arrayfire-9999.ebuild10
-rw-r--r--sci-libs/givaro/ChangeLog12
-rw-r--r--sci-libs/givaro/Manifest5
-rw-r--r--sci-libs/givaro/givaro-3.2.13.ebuild13
-rw-r--r--sci-libs/givaro/givaro-3.3.0.ebuild20
-rw-r--r--sci-libs/givaro/givaro-3.8.0.ebuild21
11 files changed, 177 insertions, 34 deletions
diff --git a/sci-libs/armadillo/ChangeLog b/sci-libs/armadillo/ChangeLog
index ce386e2b2..92146ca41 100644
--- a/sci-libs/armadillo/ChangeLog
+++ b/sci-libs/armadillo/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sci-libs/armadillo
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*armadillo-4.600.2 (11 Jan 2015)
+
+ 11 Jan 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +armadillo-4.600.2.ebuild:
+ Version bump, fix examples install location
+
*armadillo-4.300.9 (28 Jun 2014)
28 Jun 2014; Jauhien Piatlicki <jauhien@gentoo.org>
diff --git a/sci-libs/armadillo/Manifest b/sci-libs/armadillo/Manifest
index f380fb985..355b29400 100644
--- a/sci-libs/armadillo/Manifest
+++ b/sci-libs/armadillo/Manifest
@@ -1,3 +1,4 @@
DIST armadillo-4.200.0.tar.gz 5479492 SHA256 77d4c64346da9fb90d1150c290919e49530cef45713e830375e04566218335ff SHA512 83afccbf0ed4b8a7873b5fc5d47975600a71d7130e59716d9f044a2cd58343e4d0f5c0037abd1e6d110413d0192c5f0f87a2f3af8183189bd82032414237244d WHIRLPOOL c785cc5b89a542c276ec3cddd56ee40a766960353d7174356c0e891dd8744d08bff350405c3b629a7a4b66a4a8b7564697faa7e9600e57065a3f1cd5e1180bd9
DIST armadillo-4.300.8.tar.gz 5484286 SHA256 1d1a77ad7a74e8b4a74d7b71c5e3fe488e26283907b316618de0a8558c60173a SHA512 3b5d6c9bcefb427e1dc15c259bd24154b6d2138a75be49275e2be5a456f4e2357852c7520b171109ee2b6a716c8ef2a19dea8c2a9b908b13fc2a1624500d54f3 WHIRLPOOL 90789113a10ca0e0264af3212f2c59f6f0b68cf726c22935433bc5d396c763143e6bd1b9d961ee6e5fd78adad3ee58bf1b532931761d9fbe51e99179beebf789
DIST armadillo-4.300.9.tar.gz 5484297 SHA256 1cc96e7eb1cd3872c193f3954561e6d8539d2a4120235213c42c6db44b650d27 SHA512 5129c9ac8e76b6d367691380315d3f4e80e643349a9013238c0672b4d93aabc395d20b9fd95678dcc9172baa793eba5b54011bbf35f69913a7381ca2f62638d0 WHIRLPOOL a3c6c24cbbf85a585bb20c0773800f24065cf57976759543653bddbee0e09559cfad7de30829bc1b5db5583fe1d8c17112b5a463924deaaad5bebf41ec525f7f
+DIST armadillo-4.600.2.tar.gz 5347346 SHA256 d5f85cac54db16d3cf25af54460eb5fde190c81ddbb8690a6c453012934891bf SHA512 b077ad19b7a3e996e9edeceaf980bea53ecaccb012dd2438a70bfc863bd8113e8308325ca91ce033c152bc757a0ac847d81ba99d87b5e4af28ae44dc71ed595b WHIRLPOOL 1d41ab103a7b89e2c11fc4b5b0a9649a690d704dcdd073bcc2de4ddb996a560e6e397309987c848443f294e83af2ae3e269c323ff68c1c8d512ad698861fa35a
diff --git a/sci-libs/armadillo/armadillo-4.600.2.ebuild b/sci-libs/armadillo/armadillo-4.600.2.ebuild
new file mode 100644
index 000000000..35856d707
--- /dev/null
+++ b/sci-libs/armadillo/armadillo-4.600.2.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+CMAKE_IN_SOURCE_BUILD=1
+
+inherit cmake-utils toolchain-funcs multilib eutils
+
+DESCRIPTION="Streamlined C++ linear algebra library"
+HOMEPAGE="http://arma.sourceforge.net/"
+SRC_URI="mirror://sourceforge/arma/${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0/4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="arpack atlas blas debug doc examples hdf5 lapack mkl tbb test"
+REQUIRED_USE="test? ( lapack )"
+
+RDEPEND="
+ dev-libs/boost
+ arpack? ( sci-libs/arpack )
+ atlas? ( sci-libs/atlas[lapack] )
+ blas? ( virtual/blas )
+ lapack? ( virtual/lapack )"
+DEPEND="${RDEPEND}
+ arpack? ( virtual/pkgconfig )
+ atlas? ( virtual/pkgconfig )
+ blas? ( virtual/pkgconfig )
+ hdf5? ( sci-libs/hdf5 )
+ lapack? ( virtual/pkgconfig )
+ mkl? ( sci-libs/mkl )
+ tbb? ( dev-cpp/tbb )"
+PDEPEND="${RDEPEND}
+ hdf5? ( sci-libs/hdf5 )
+ mkl? ( sci-libs/mkl )
+ tbb? ( dev-cpp/tbb )"
+
+src_prepare() {
+ # avoid the automagic cmake macros
+ sed -i -e '/ARMA_Find/d' CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)"
+ $(cmake-utils_use debug ARMA_EXTRA_DEBUG)
+ $(cmake-utils_use mkl ARMA_USE_MKL_ALLOC)
+ $(cmake-utils_use tbb ARMA_USE_TBB_ALLOC)
+ )
+ if use arpack; then
+ mycmakeargs+=(
+ -DARPACK_FOUND=ON
+ -DARPACK_LIBRARY="$($(tc-getPKG_CONFIG) --libs arpack)"
+ )
+ fi
+ if use atlas; then
+ local c=atlas-cblas l=atlas-clapack
+ $(tc-getPKG_CONFIG) --exists ${c}-threads && c+=-threads
+ $(tc-getPKG_CONFIG) --exists ${l}-threads && l+=-threads
+ mycmakeargs+=(
+ -DCBLAS_FOUND=ON
+ -DCBLAS_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${c} | sed 's/-I//')"
+ -DCBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${c})"
+ -DCLAPACK_FOUND=ON
+ -DCLAPACK_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${l} | sed 's/-I//')"
+ -DCLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${l})"
+ )
+ fi
+ if use blas; then
+ mycmakeargs+=(
+ -DBLAS_FOUND=ON
+ -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
+ )
+ fi
+ if use hdf5; then
+ mycmakeargs+=(
+ -DHDF5_FOUND=ON
+ -DHDF5_LIBRARIES="-lhdf5"
+ )
+ fi
+ if use lapack; then
+ mycmakeargs+=(
+ -DLAPACK_FOUND=ON
+ -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_test() {
+ pushd examples > /dev/null
+ emake \
+ CXXFLAGS="-I../include ${CXXFLAGS} -DARMA_USE_BLAS -DARMA_USE_LAPACK" \
+ EXTRA_LIB_FLAGS="-L.. $($(tc-getPKG_CONFIG) --libs blas lapack)"
+ LD_LIBRARY_PATH="..:${LD_LIBRARY_PATH}" ./example1 || die
+ LD_LIBRARY_PATH="..:${LD_LIBRARY_PATH}" ./example2 || die
+ emake clean
+ popd > /dev/null
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc README.txt
+ use doc && dodoc *pdf && dohtml *html
+ if use examples; then
+ insinto /usr/share/examples/${PF}
+ doins -r examples/*
+ fi
+}
diff --git a/sci-libs/arrayfire/ChangeLog b/sci-libs/arrayfire/ChangeLog
index c21468ac0..37799ee6d 100644
--- a/sci-libs/arrayfire/ChangeLog
+++ b/sci-libs/arrayfire/ChangeLog
@@ -1,7 +1,13 @@
-# ChangeLog for sys-cluster/mpe2
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*arrayfire-0.9999 (12 Jan 2015)
+
+ 12 jan 2015; Marius Brehler <marbre@linux.sungazer.de>
+ +arrayfire-0.9999.ebuild:
+ Symlink to arrayfire-9999, pulls the master branch;
+ default HEAD points to devel
+
*arrayfire-9999 (10 Jan 2015)
10 Jan 2015; Marius Brehler <marbre@linux.sungazer.de> +metadata.xml,
diff --git a/sci-libs/arrayfire/arrayfire-0.9999.ebuild b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
new file mode 120000
index 000000000..71d00d46a
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
@@ -0,0 +1 @@
+arrayfire-9999.ebuild \ No newline at end of file
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 107af240e..352a81483 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -10,9 +10,13 @@ GTEST_PV="1.7.0"
DESCRIPTION="A general purpose GPU library."
HOMEPAGE="http://www.arrayfire.com/"
-EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git"
+EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git git://github.com/arrayfire/arrayfire.git"
SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )"
-KEYWORDS="~amd64"
+KEYWORDS=""
+if [[ ${PV} == "0.9999" ]] ; then
+ # the remote HEAD points to devel, but we want to pull the master instead
+ EGIT_BRANCH="master"
+fi
LICENSE="BSD"
SLOT="0"
@@ -78,5 +82,5 @@ src_configure() {
src_install() {
cmake-utils_src_install
- dobin "bin2cpp"
+ dobin "${BUILD_DIR}/bin2cpp"
}
diff --git a/sci-libs/givaro/ChangeLog b/sci-libs/givaro/ChangeLog
index 1df7d4e4e..eb8991107 100644
--- a/sci-libs/givaro/ChangeLog
+++ b/sci-libs/givaro/ChangeLog
@@ -1,7 +1,16 @@
# ChangeLog for sci-libs/givaro
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*givaro-3.8.0 (11 Jan 2015)
+
+ 11 Jan 2015; Marius Brehler <marbre@linux.sungazer.de> +givaro-3.8.0.ebuild:
+ Version bump
+
+ 11 Jan 2015; Marius Brehler <marbre@linux.sungazer.de>
+ givaro-3.3.0, givaro-3.2.13:
+ Move to EAPI=5; Cleanup ebuilds, Fix SRC_URI for 3.3.0
+
*givaro-3.3.0 (09 Nov 2009)
*givaro-3.2.13 (09 Nov 2009)
@@ -12,4 +21,3 @@
18 Jul 2008; Francois Bissey <f.r.bissey@massey.ac.nz> ChangeLog:
Initial import, see bug #227803
-
diff --git a/sci-libs/givaro/Manifest b/sci-libs/givaro/Manifest
index 1ea550033..4100d6544 100644
--- a/sci-libs/givaro/Manifest
+++ b/sci-libs/givaro/Manifest
@@ -1,2 +1,3 @@
-DIST givaro-3.2.13.tar.gz 601026 SHA256 cef5972a79038c7fdbbcc80c90917ed0b339614723e9cd12436b55358ef34eb0
-DIST givaro-3.3.tar.gz 643288 SHA256 90677ee9af4a33f827dfce48359c2c419302dfb46227fb8cc16de23f18ac757e
+DIST givaro-3.2.13.tar.gz 601026 SHA256 cef5972a79038c7fdbbcc80c90917ed0b339614723e9cd12436b55358ef34eb0 SHA512 ba792f00003940aedadbea388ff652bc7df3472a9451a950c0818d5424e2656d479ee32a4cf40c2e91f3437c13882a0067040585f9744f309b77067360a267d7 WHIRLPOOL 6840ee4a39f3b2b1f464dd864128825cbfc6adc6b71bf62a81bb8fccc55ec21cfafee971e59be1e5026d22749f813547f73a412190fb5b68e8bd44533f9a1375
+DIST givaro-3.3.0.tar.gz 643288 SHA256 90677ee9af4a33f827dfce48359c2c419302dfb46227fb8cc16de23f18ac757e SHA512 0121917855989b31ce888280229e022fafcdb4f1da4411328d79accac3ce1f057805d4efa23798e3c888b3ddcdcbde8d6e841d415c6509ed4a299287482f5032 WHIRLPOOL ced6bc6ce47e767087feb993922f53e1e160bfa328f9ea12a5b715937bf6aa06ee876abf891f9055da434566642aabb5cd2317dcf302651ec239f65e2f170d53
+DIST givaro-3.8.0.tar.gz 823507 SHA256 d89728d6ae527e80e9cd48fb40daf9b8a16907ed1b7cb621416a1483b69e42a0 SHA512 067a89093501bb4a9627b2141653b4f0636dd2e9323503e6b9c9e6d25e50240d30a6fc9971415ef5c0f227449493a585e4408ebbc4da6f5ee7363faee78f88fb WHIRLPOOL 67ca6f54aa59cab0bae78959ee01bc53486e5b18d6be0649b2447ec30ff588d9026d812757ad85f174d2076caeef64afb6a58c040324f08871e8e991fb61c88f
diff --git a/sci-libs/givaro/givaro-3.2.13.ebuild b/sci-libs/givaro/givaro-3.2.13.ebuild
index ad54cbee8..c6ffca68e 100644
--- a/sci-libs/givaro/givaro-3.2.13.ebuild
+++ b/sci-libs/givaro/givaro-3.2.13.ebuild
@@ -1,16 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
+EAPI=5
DESCRIPTION="C++ library for arithmetic and algebraic computations"
HOMEPAGE="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/"
SRC_URI="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/Downloads/${P}.tar.gz"
-#### Remove the following line when moving this ebuild to the main tree!
-RESTRICT="mirror"
-
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
@@ -20,11 +17,7 @@ RDEPEND=">=dev-libs/gmp-4.1-r1"
DEPEND="${RDEPEND}"
src_configure(){
- econf "--enable-shared" || die "Configure failed!"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
+ econf "--enable-shared"
}
pkg_postinst() {
diff --git a/sci-libs/givaro/givaro-3.3.0.ebuild b/sci-libs/givaro/givaro-3.3.0.ebuild
index fb965a0ec..02a9f2745 100644
--- a/sci-libs/givaro/givaro-3.3.0.ebuild
+++ b/sci-libs/givaro/givaro-3.3.0.ebuild
@@ -1,20 +1,14 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
-
-inherit versionator
+EAPI=5
DESCRIPTION="C++ library for arithmetic and algebraic computations"
HOMEPAGE="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/"
-MY_P=${PN}-$(get_version_component_range 1-2)
-SRC_URI="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/Downloads/${MY_P}.tar.gz"
-
-#### Remove the following line when moving this ebuild to the main tree!
-RESTRICT="mirror"
+SRC_URI="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/Downloads/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
IUSE=""
@@ -23,11 +17,7 @@ RDEPEND=">=dev-libs/gmp-4.1-r1"
DEPEND="${RDEPEND}"
src_configure(){
- econf "--enable-shared" || die "Configure failed!"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
+ econf "--enable-shared"
}
pkg_postinst() {
diff --git a/sci-libs/givaro/givaro-3.8.0.ebuild b/sci-libs/givaro/givaro-3.8.0.ebuild
new file mode 100644
index 000000000..79f1db0b5
--- /dev/null
+++ b/sci-libs/givaro/givaro-3.8.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="C++ library for arithmetic and algebraic computations"
+HOMEPAGE="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/"
+SRC_URI="https://forge.imag.fr/frs/download.php/592/${P}.tar.gz"
+
+LICENSE="CeCILL-B"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-4.1-r1"
+DEPEND="${RDEPEND}"
+
+src_configure(){
+ econf "--enable-shared"
+}