aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2014-01-20 09:51:32 +0100
committerAndreas Schäfer <gentryx@gmx.de>2014-01-20 09:51:32 +0100
commit49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9 (patch)
tree17636726f00bbeccaad17fdfd7465198ff8680a7 /sci-libs/silo/silo-4.9.1.ebuild
parentMerge branch 'xhochy-openlibm-9999-no-extras' (diff)
parentadded ebuild for silo (diff)
downloadsci-49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9.tar.gz
sci-49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9.tar.bz2
sci-49e2019a54328c4a1ed1bdaf60f6d58d8eddd7b9.zip
Merge /usr/local/portage/andis_overlay
Diffstat (limited to 'sci-libs/silo/silo-4.9.1.ebuild')
-rw-r--r--sci-libs/silo/silo-4.9.1.ebuild35
1 files changed, 35 insertions, 0 deletions
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} )
+}