diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-15 21:12:19 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-15 21:12:19 +0000 |
commit | 9e43f6b07ff65f7bba529ccea30c932002a9eb96 (patch) | |
tree | 1fe8838ff69203e5ce48cdef66bfd840d92c1335 /sci-libs/gerris | |
parent | version bump (diff) | |
download | gentoo-2-9e43f6b07ff65f7bba529ccea30c932002a9eb96.tar.gz gentoo-2-9e43f6b07ff65f7bba529ccea30c932002a9eb96.tar.bz2 gentoo-2-9e43f6b07ff65f7bba529ccea30c932002a9eb96.zip |
Version bump
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/gerris')
-rw-r--r-- | sci-libs/gerris/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/gerris/gerris-20131206.ebuild | 68 |
2 files changed, 75 insertions, 2 deletions
diff --git a/sci-libs/gerris/ChangeLog b/sci-libs/gerris/ChangeLog index 004923d2a39f..0b0db23a1856 100644 --- a/sci-libs/gerris/ChangeLog +++ b/sci-libs/gerris/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/gerris -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gerris/ChangeLog,v 1.19 2013/07/22 22:42:13 bicatali Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gerris/ChangeLog,v 1.20 2014/01/15 21:12:19 bicatali Exp $ + +*gerris-20131206 (15 Jan 2014) + + 15 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org> +gerris-20131206.ebuild: + Version bump *gerris-20130531 (22 Jul 2013) diff --git a/sci-libs/gerris/gerris-20131206.ebuild b/sci-libs/gerris/gerris-20131206.ebuild new file mode 100644 index 000000000000..dc71891c7a87 --- /dev/null +++ b/sci-libs/gerris/gerris-20131206.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gerris/gerris-20131206.ebuild,v 1.1 2014/01/15 21:12:19 bicatali Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 + +inherit autotools-utils eutils flag-o-matic toolchain-funcs + +MYP=${P/-20/-snapshot-} + +DESCRIPTION="Gerris Flow Solver" +HOMEPAGE="http://gfs.sourceforge.net/" +SRC_URI="http://gerris.dalembert.upmc.fr/gerris/tarballs/${MYP}.tar.gz" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples mpi static-libs" + +# all these deps could be optional +# but the configure.in would have to be modified +# heavily for the automagic +RDEPEND=" + dev-libs/glib:2 + dev-games/ode + sci-libs/netcdf + sci-libs/gsl + sci-libs/gts + sci-libs/hypre[mpi?] + sci-libs/lis[mpi?] + sci-libs/proj + >=sci-libs/fftw-3 + virtual/lapack + mpi? ( virtual/mpi )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MYP}" + +# buggy tests, need extra packages and require gerris to be installed +RESTRICT=test + +PATCHES=( + "${FILESDIR}"/${PN}-20130531-hypre-no-mpi.patch + "${FILESDIR}"/${PN}-20130531-lis-matrix-csr.patch + "${FILESDIR}"/${PN}-20130531-use-blas-lapack-system.patch +) + +src_configure() { + append-cppflags "-I${EPREFIX}/usr/include/hypre" + local myeconfargs=( + $(use_enable mpi) + ) + autotools-utils_src_configure \ + LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)" +} + +src_install() { + autotools-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r doc/examples/* + fi +} |