From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9F4561381F3 for ; Mon, 17 Jun 2013 01:07:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF286E08BA; Mon, 17 Jun 2013 01:07:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15573E08BA for ; Mon, 17 Jun 2013 01:07:09 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EED0F33E3BF for ; Mon, 17 Jun 2013 01:07:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 395E7E5463 for ; Mon, 17 Jun 2013 01:07:07 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1371426835.195a1f3287a4bdfbb25b405706ecdf3d7cbafa26.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/healpix_cxx/ X-VCS-Repository: proj/sci X-VCS-Files: sci-astronomy/healpix_cxx/ChangeLog sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild sci-astronomy/healpix_cxx/metadata.xml X-VCS-Directories: sci-astronomy/healpix_cxx/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 195a1f3287a4bdfbb25b405706ecdf3d7cbafa26 X-VCS-Branch: master Date: Mon, 17 Jun 2013 01:07:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4eafea99-b5a1-44bd-9d13-08e75bd1f4d4 X-Archives-Hash: 73289bd576b68456c360297555f6a34b commit: 195a1f3287a4bdfbb25b405706ecdf3d7cbafa26 Author: Sébastien Fabbro gentoo org> AuthorDate: Sun Jun 16 23:53:55 2013 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Sun Jun 16 23:53:55 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=195a1f32 sci-astronomy/healpix_cxx: Initial import Package-Manager: portage-2.2.01.22013-prefix RepoMan-Options: --force --- sci-astronomy/healpix_cxx/ChangeLog | 9 ++++ sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild | 54 +++++++++++++++++++++++ sci-astronomy/healpix_cxx/metadata.xml | 12 +++++ 3 files changed, 75 insertions(+) diff --git a/sci-astronomy/healpix_cxx/ChangeLog b/sci-astronomy/healpix_cxx/ChangeLog new file mode 100644 index 0000000..fa357f4 --- /dev/null +++ b/sci-astronomy/healpix_cxx/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-astronomy/healpix_cxx +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*healpix_cxx-3.11 (16 Jun 2013) + + 16 Jun 2013; Sébastien Fabbro +healpix_cxx-3.11.ebuild, + +metadata.xml: + sci-astronomy/healpix_cxx: Initial import diff --git a/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild b/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild new file mode 100644 index 0000000..f25aa9d --- /dev/null +++ b/sci-astronomy/healpix_cxx/healpix_cxx-3.11.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils toolchain-funcs + +MYP="Healpix_${PV}" +MYPP="2013Apr24" + +DESCRIPTION="Hierarchical Equal Area isoLatitude Pixelization of a sphere - C++" +HOMEPAGE="http://healpix.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MYP}/${MYP}_${MYPP}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="openmp static-libs" + +RDEPEND=" + >=sci-libs/cfitsio-3" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MYP}/src/cxx/autotools" + +DOCS=( ../CHANGES ../../../READ_Copyrights_Licenses.txt ) + +pkg_setup() { + if use openmp; then + if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then + ewarn "You are using a g++ without OpenMP capabilities" + die "Need an OpenMP capable compiler" + fi + fi +} + +src_prepare() { + # respect user flags + sed -i -e '/^AX_CHECK_COMPILE_FLAG/d' configure.ac || die + # why was static-libtool-libs forced? + use static-libs || sed -i -e '/-static-libtool-libs/d' Makefile.am + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable openmp) + ) + autotools-utils_src_configure +} diff --git a/sci-astronomy/healpix_cxx/metadata.xml b/sci-astronomy/healpix_cxx/metadata.xml new file mode 100644 index 0000000..391b83c --- /dev/null +++ b/sci-astronomy/healpix_cxx/metadata.xml @@ -0,0 +1,12 @@ + + + +sci-astronomy + + HEALPix is an acronym for Hierarchical Equal Area isoLatitude + Pixelization of a sphere. As suggested in the name, this pixelization produces a + subdivision of a spherical surface in which each pixel covers the same + surface area as every other pixel. This package contains the C++ + library and programs. + +