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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Jul 24 05:48:35 2014 UTC (5 years, 3 months ago) by slis
Branch: MAIN
CVS Tags: HEAD
added silo package

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

1 slis 1.1 # Copyright 1999-2014 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/codes/${PN}"
11     SRC_URI="https://wci.llnl.gov/codes/${PN}/${P}/${P}.tar.gz"
12    
13     SLOT="0"
14     LICENSE="BSD"
15     KEYWORDS="~amd64 ~x86"
16     IUSE="hdf5 +silex static-libs qt4 test"
17    
18     REQUIRED_USE="silex? ( qt4 )"
19    
20     RDEPEND="
21     hdf5? ( sci-libs/hdf5 )
22     qt4? ( dev-qt/qtgui:4 )"
23     DEPEND="${RDEPEND}"
24    
25     src_prepare() {
26     epatch "${FILESDIR}/${P}-qtlibs.patch"
27     epatch "${FILESDIR}/${P}-tests.patch"
28     }
29    
30     src_configure() {
31     econf \
32     --enable-install-lite-headers \
33     --enable-shared \
34     $(use_enable silex silex ) \
35     $(use_enable static-libs static ) \
36     $(use_with qt4 Qt-lib-dir "${EPREFIX}"/usr/lib${LIB_LOCATION_SUFFIX}/qt4 ) \
37     $(use_with qt4 Qt-include-dir "${EPREFIX}"/usr/include/qt4 ) \
38     $(use_with hdf5 hdf5 ${EPREFIX}"/usr/include,${EPREFIX}"/usr/lib${LIB_LOCATION_SUFFIX} )
39     }

  ViewVC Help
Powered by ViewVC 1.1.20