diff options
author | Andreas Schäfer <gentryx@gmx.de> | 2014-01-20 09:51:32 +0100 |
---|---|---|
committer | Andreas Schäfer <gentryx@gmx.de> | 2014-01-20 09:51:32 +0100 |
commit | 49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9 (patch) | |
tree | 17636726f00bbeccaad17fdfd7465198ff8680a7 /sci-libs | |
parent | Merge branch 'xhochy-openlibm-9999-no-extras' (diff) | |
parent | added ebuild for silo (diff) | |
download | sci-49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9.tar.gz sci-49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9.tar.bz2 sci-49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9.zip |
Merge /usr/local/portage/andis_overlay
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/libgeodecomp/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild | 36 | ||||
-rw-r--r-- | sci-libs/silo/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/silo/files/silo-4.9.1-qtlibs.patch | 66 | ||||
-rw-r--r-- | sci-libs/silo/metadata.xml | 18 | ||||
-rw-r--r-- | sci-libs/silo/silo-4.9.1.ebuild | 35 |
6 files changed, 157 insertions, 0 deletions
diff --git a/sci-libs/libgeodecomp/Manifest b/sci-libs/libgeodecomp/Manifest index 405630e3e..f9f5d7631 100644 --- a/sci-libs/libgeodecomp/Manifest +++ b/sci-libs/libgeodecomp/Manifest @@ -1,2 +1,3 @@ DIST libgeodecomp-0.1.0.tar.bz2 581136 SHA256 71442a60e7cc5c3f38e462d5d52010a948bd089759487687f217e4dec4dffae5 SHA512 56de4e6bfc92f8dda4d4931559a553a7a2c847205637394ea87f73dfb5a34776cb043beba2857bbe07c52a61ed457f22b7d76e4e23c183c8bd25868d36df4704 WHIRLPOOL df2b5c6830dbc92befd873bdced1712687046a43e814f7676271a2041a58c9e2562a86c6b4034343499f813136f38e298b33fa9a67911b726f42f323f666b03e DIST libgeodecomp-0.2.0.tar.bz2 672860 SHA256 6137061ae9f6589759a86fb1bad1a5e56b345f6c48cd753927ff4dc7ed541ad1 SHA512 e8aea7d86605837a76a3af23a28c2093f86a531239b3796c084a27b3e0d5bd32df44c2f7bc8a6530307aa40b0cbadb587ad8285e55534816548405bc8e2e6d75 WHIRLPOOL dd62161ffd76bbec0367383c57aab2af9661bccb92cdc1a91f5e3dfd4208913d517f2bfb3c27d513d58fc48718bd3f0abf983e92deacd535c5d0928bf6f44db4 +DIST libgeodecomp-0.3.1.tar.bz2 740341 SHA256 3c49a238472a82be3a6e2411a20bda85672aac01d4a87bb0e63ccbff1385ea64 SHA512 28f0ea04e45cb0a5b81b18efd3e3a011d58c077562f8039ff42e701cc362f86dff90bd505690ec22c8a42e9de1236d5b6c61d288ad4c154289e92700a2a7fcc0 WHIRLPOOL 3827974861556ab84a16e81b8cece2cff4d9e88a1559d99192fa47efd571639b252423038b3b579811c7d57452e94ae96b99f7209e87af46b752b5a193dc9994 diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild new file mode 100644 index 000000000..4c41adc28 --- /dev/null +++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2013-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="An auto-parallelizing library to speed up computer simulations" +HOMEPAGE="http://www.libgeodecomp.org" +SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" + +SLOT="0" +LICENSE="LGPL-3" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +RDEPEND=">=dev-libs/boost-1.48" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${P}/src" + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_make doc +} + +src_install() { + DOCS=( ../README ) + use doc && HTML_DOCS=( ../doc/html/* ) + cmake-utils_src_install +} + +src_test() { + cmake-utils_src_make test +} diff --git a/sci-libs/silo/Manifest b/sci-libs/silo/Manifest new file mode 100644 index 000000000..dcd0e04f5 --- /dev/null +++ b/sci-libs/silo/Manifest @@ -0,0 +1 @@ +DIST silo-4.9.1.tar.gz 12038537 SHA256 4908eb77577e26948aedee5976deedc3d2c1fd01b6fc5bd9cb61772cbbe2a56e SHA512 512e16ec6bd62deb3596d918895a0c82606a9f519345e4c4abd1a19eb40172576b70313472b75ae4183ee9d86a0f19443504f232ca6e633b1652f9d547927b83 WHIRLPOOL 7cd875ce28bac86cbe68e931d95cf5543671aa7142ab672f5bdc23da9467eb6b755b2e8f06bb2871686aa01e835a5495697a454bcb36153adf86be09735219d9 diff --git a/sci-libs/silo/files/silo-4.9.1-qtlibs.patch b/sci-libs/silo/files/silo-4.9.1-qtlibs.patch new file mode 100644 index 000000000..e8fc4284c --- /dev/null +++ b/sci-libs/silo/files/silo-4.9.1-qtlibs.patch @@ -0,0 +1,66 @@ +diff -ru silo-4.9.1-old/configure silo-4.9.1-new/configure +--- silo-4.9.1-old/configure 2014-01-18 23:19:15.755030306 +0100 ++++ silo-4.9.1-new/configure 2014-01-18 23:20:52.595031159 +0100 +@@ -27503,7 +27503,7 @@ + ax_qt_lib="`ls $ax_qt_lib_dir/libQt* | sed -n 1p | + sed s@$ax_qt_lib_dir/lib@@ | sed s@[.].*@@`" + fi +- ax_qt_LIBS="-L$ax_qt_lib_dir -l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" ++ ax_qt_LIBS="-L$ax_qt_lib_dir -l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lQtCore -lQtGui -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" + else + # Use cached value or do search, starting with suggestions from + # the command line +@@ -27577,7 +27577,7 @@ + ax_qt_lib="`ls $ax_qt_lib_dir/libQt* | sed -n 1p | + sed s@$ax_qt_lib_dir/lib@@ | sed s@[.].*@@`" + fi +- ax_qt_LIBS="-L$ax_qt_lib_dir -l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" ++ ax_qt_LIBS="-L$ax_qt_lib_dir -l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lQtCore -lQtGui -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" + else + # There is no valid definition for $QTDIR as Trolltech likes to see it + ax_qt_dir= +@@ -27589,7 +27589,7 @@ + ax_qt_lib="`ls $ax_qt_lib_dir/libQt* | sed -n 1p | + sed s@$ax_qt_lib_dir/lib@@ | sed s@[.].*@@`" + fi +- ax_qt_LIBS="-L$ax_qt_lib_dir -l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" ++ ax_qt_LIBS="-L$ax_qt_lib_dir -l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lQtCore -lQtGui -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" + else + # Normally, when there is no traditional Trolltech installation, + # the library is installed in a place where the linker finds it +@@ -27607,7 +27607,7 @@ + # See if we find the library without any special options. + # Don't add top $LIBS permanently yet + ax_save_LIBS="$LIBS" +- LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" ++ LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lQtCore -lQtGui -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" + ax_qt_LIBS="$LIBS" + ax_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="-I$ax_qt_include_dir -I$ax_qt_include_dir/Qt -I$ax_qt_include_dir/QtCore -I$ax_qt_include_dir/QtGui" +@@ -27668,7 +27668,7 @@ + # That did not work. Try the multi-threaded version + echo "Non-critical error, please neglect the above." >&5 + ax_qt_lib=qt-mt +- LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" ++ LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lQtCore -lQtGui -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -27726,7 +27726,7 @@ + # That did not work. Try the OpenGL version + echo "Non-critical error, please neglect the above." >&5 + ax_qt_lib=qt-gl +- LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" ++ LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lQtCore -lQtGui -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -27809,7 +27809,7 @@ + fi + done + # Try with that one +- LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" ++ LIBS="-l$ax_qt_lib $X_PRE_LIBS $X_LIBS -lQtCore -lQtGui -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF diff --git a/sci-libs/silo/metadata.xml b/sci-libs/silo/metadata.xml new file mode 100644 index 000000000..2ee5908ca --- /dev/null +++ b/sci-libs/silo/metadata.xml @@ -0,0 +1,18 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <longdescription> + Silo is a library for reading and writing a wide variety of + scientific data to binary, disk files. The files Silo produces and + the data within them can be easily shared and exchanged between + wholly independently developed applications running on disparate + computing platforms. + </longdescription> + <use> + <flag name="silex">Build silex data browser</flag> + </use> + <maintainer> + <email>gentryx@gmx.de</email> + </maintainer> +</pkgmetadata> diff --git a/sci-libs/silo/silo-4.9.1.ebuild b/sci-libs/silo/silo-4.9.1.ebuild new file mode 100644 index 000000000..775f14096 --- /dev/null +++ b/sci-libs/silo/silo-4.9.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2013-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="A mesh and field I/O library and scientific database" +HOMEPAGE="https://wci.llnl.gov/codes/silo" +SRC_URI="https://wci.llnl.gov/codes/silo/${P}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" +IUSE="hdf5 qt4 +silex" + +REQUIRED_USE="silex? ( qt4 )" + +RDEPEND=" + hdf5? ( sci-libs/hdf5 ) + qt4? ( dev-qt/qtgui:4 )" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-qtlibs.patch" +} + +src_configure() { + econf \ + $(use_enable silex silex ) \ + $(use_with qt4 Qt-lib-dir "${EPREFIX}"/usr/lib${LIB_LOCATION_SUFFIX}/qt4 ) \ + $(use_with qt4 Qt-include-dir "${EPREFIX}"/usr/include/qt4 ) \ + $(use_with hdf5 hdf5 ${EPREFIX}"/usr/include,${EPREFIX}"/usr/lib${LIB_LOCATION_SUFFIX} ) +} |