/[gentoo-x86]/sci-libs/nemesis/nemesis-5.22b.ebuild
Gentoo

Contents of /sci-libs/nemesis/nemesis-5.22b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jul 18 07:21:30 2013 UTC (6 years, 11 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -4 lines
sci-libs/nemesis: Version Bump; add missing dep; Fix usage of cmake-utils.eclass, #477230

(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/nemesis/nemesis-5.22b.ebuild,v 1.1 2012/12/13 14:51:07 jlec Exp $
4
5 EAPI=4
6
7 inherit cmake-utils multilib
8
9 MY_PN="exodus"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="Enhancement to the EXODUSII finite element database model"
13 HOMEPAGE="http://sourceforge.net/projects/exodusii/"
14 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 IUSE="static-libs test"
20
21 DEPEND="
22 sci-libs/exodusii
23 sci-libs/netcdf"
24 RDEPEND="${DEPEND}"
25
26 S="${WORKDIR}"/${MY_P}/${PN}
27
28 PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
29
30 src_prepare() {
31 find ../exodus -delete || die
32 cmake-utils_src_prepare
33 }
34
35 src_configure() {
36 mycmakeargs="${mycmakeargs}
37 -DLIB_INSTALL_DIR=$(get_libdir)
38 -DNETCDF_DIR="${EPREFIX}/usr/"
39 -DEXODUS_DIR="${EPREFIX}/usr/"
40 $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
41 $(cmake-utils_use test BUILD_TESTING)"
42 cmake-utils_src_configure
43 }
44
45 src_test() {
46 "${BUILD_DIR}"/ne_test || die
47 }

  ViewVC Help
Powered by ViewVC 1.1.20