public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/healpix_cxx/
Date: Mon, 17 Jun 2013 01:07:07 +0000 (UTC)	[thread overview]
Message-ID: <1371426835.195a1f3287a4bdfbb25b405706ecdf3d7cbafa26.bicatali@gentoo> (raw)

commit:     195a1f3287a4bdfbb25b405706ecdf3d7cbafa26
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 23:53:55 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> 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 <bicatali@gentoo.org> +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-astronomy</herd>
+<longdescription lang="en">
+  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.
+</longdescription>
+</pkgmetadata>


             reply	other threads:[~2013-06-17  1:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17  1:07 Sebastien Fabbro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-02-03  1:39 [gentoo-commits] proj/sci:master commit in: sci-astronomy/healpix_cxx/ Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1371426835.195a1f3287a4bdfbb25b405706ecdf3d7cbafa26.bicatali@gentoo \
    --to=bicatali@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox