summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-05-11 21:51:50 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-05-11 21:51:50 +0000
commit17c30a7af51ad84f67b95a0dce07fd0a990ab575 (patch)
treee59189901e47554b56e25d2b242a6a075e5c1db5 /sci-astronomy
parentAdd sys-devel/m4 to DEPEND. Fixes bug #415003. Remove old ebuilds (diff)
downloadgentoo-2-17c30a7af51ad84f67b95a0dce07fd0a990ab575.tar.gz
gentoo-2-17c30a7af51ad84f67b95a0dce07fd0a990ab575.tar.bz2
gentoo-2-17c30a7af51ad84f67b95a0dce07fd0a990ab575.zip
Version bump
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/casacore/ChangeLog8
-rw-r--r--sci-astronomy/casacore/casacore-1.3.0.ebuild4
-rw-r--r--sci-astronomy/casacore/casacore-1.4.0.ebuild62
3 files changed, 71 insertions, 3 deletions
diff --git a/sci-astronomy/casacore/ChangeLog b/sci-astronomy/casacore/ChangeLog
index 1f079837b79b..47318f9c2e60 100644
--- a/sci-astronomy/casacore/ChangeLog
+++ b/sci-astronomy/casacore/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/casacore
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/ChangeLog,v 1.2 2012/05/04 06:46:12 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/ChangeLog,v 1.3 2012/05/11 21:51:50 bicatali Exp $
+
+*casacore-1.4.0 (11 May 2012)
+
+ 11 May 2012; Sébastien Fabbro <bicatali@gentoo.org> casacore-1.3.0.ebuild,
+ +casacore-1.4.0.ebuild:
+ Version bump
04 May 2012; Jeff Horelick <jdhore@gentoo.org> casacore-1.3.0.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/sci-astronomy/casacore/casacore-1.3.0.ebuild b/sci-astronomy/casacore/casacore-1.3.0.ebuild
index bbdfade1734e..7c13257579cf 100644
--- a/sci-astronomy/casacore/casacore-1.3.0.ebuild
+++ b/sci-astronomy/casacore/casacore-1.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/casacore-1.3.0.ebuild,v 1.2 2012/05/04 06:46:12 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/casacore-1.3.0.ebuild,v 1.3 2012/05/11 21:51:50 bicatali Exp $
EAPI=4
@@ -47,6 +47,6 @@ src_compile() {
}
src_install(){
- cmake-utils_src_compile
+ cmake-utils_src_install
use doc && dohtml -r doc/html
}
diff --git a/sci-astronomy/casacore/casacore-1.4.0.ebuild b/sci-astronomy/casacore/casacore-1.4.0.ebuild
new file mode 100644
index 000000000000..d85c549b2acd
--- /dev/null
+++ b/sci-astronomy/casacore/casacore-1.4.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/casacore-1.4.0.ebuild,v 1.1 2012/05/11 21:51:50 bicatali Exp $
+
+EAPI=4
+
+inherit cmake-utils eutils toolchain-funcs fortran-2
+
+DESCRIPTION="Core libraries for the Common Astronomy Software Applications"
+HOMEPAGE="http://code.google.com/p/casacore/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="doc fftw hdf5 openmp threads test"
+
+RDEPEND="sci-libs/cfitsio
+ sci-astronomy/wcslib
+ sys-libs/readline
+ virtual/blas
+ virtual/fortran
+ virtual/lapack
+ hdf5? ( sci-libs/hdf5 )
+ fftw? ( >=sci-libs/fftw-3 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+PATCHES=( "${FILESDIR}"/1.3.0-{implicits,libdir}.patch )
+
+pkg_setup() {
+ if [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
+ ewarn "You are using gcc but without OpenMP capabilities"
+ die "Need an OpenMP capable compiler"
+ fi
+ fortran-2_pkg_setup
+}
+
+src_configure() {
+ has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
+ mycmakeargs+=(
+ -DENABLE_SHARED=ON
+ -DDATA_DIR="${EPREFIX}/usr/share/casacore/data"
+ $(cmake-utils_use_build test TESTING)
+ $(cmake-utils_use_use fftw FFTW3)
+ $(cmake-utils_use_use hdf5 HDF5)
+ $(cmake-utils_use_use threads THREADS)
+ $(cmake-utils_use_use openmp OPENMP)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use doc && doxygen doxygen.cfg
+}
+
+src_install(){
+ cmake-utils_src_install
+ use doc && dohtml -r doc/html
+}