/[gentoo-x86]/sci-libs/silo/silo-4.10.2.ebuild
Gentoo

Contents of /sci-libs/silo/silo-4.10.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jan 8 12:31:38 2015 UTC (4 years, 9 months ago) by slis
Branch: MAIN
CVS Tags: HEAD
version bump

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 inherit eutils
8
9 DESCRIPTION="A mesh and field I/O library and scientific database"
10 HOMEPAGE="https://wci.llnl.gov/simulation/computer-codes/silo"
11 SRC_URI="https://wci.llnl.gov/content/assets/docs/simulation/computer-codes/${PN}/${P}/${P}.tar.gz"
12 SLOT="0"
13 LICENSE="BSD"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="hdf5 +silex static-libs qt4 test"
16
17 REQUIRED_USE="silex? ( qt4 )"
18
19 RDEPEND="
20 hdf5? ( sci-libs/hdf5 )
21 qt4? ( dev-qt/qtgui:4 )"
22 DEPEND="${RDEPEND}"
23
24 src_prepare() {
25 epatch "${FILESDIR}/${P}-qtlibs.patch"
26 epatch "${FILESDIR}/${P}-tests.patch"
27 }
28
29 src_configure() {
30 econf \
31 --enable-install-lite-headers \
32 --enable-shared \
33 $(use_enable silex silex ) \
34 $(use_enable static-libs static ) \
35 $(use_with qt4 Qt-lib-dir "${EPREFIX}"/usr/lib${LIB_LOCATION_SUFFIX}/qt4 ) \
36 $(use_with qt4 Qt-include-dir "${EPREFIX}"/usr/include/qt4 ) \
37 $(use_with hdf5 hdf5 ${EPREFIX}"/usr/include,${EPREFIX}"/usr/lib${LIB_LOCATION_SUFFIX} )
38 }

  ViewVC Help
Powered by ViewVC 1.1.20