From 0beae5fef2a6efd8ab8f4aa490595152544b726e Mon Sep 17 00:00:00 2001 From: bicatali Date: Fri, 2 Dec 2005 00:51:44 +0000 Subject: Added new ebuild for swarp-2.15.6 git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@29 32389bae-6d03-0410-99cf-db05cde120eb --- sci-astronomy/swarp/ChangeLog | 10 ++++++ sci-astronomy/swarp/Manifest | 4 +++ sci-astronomy/swarp/files/digest-swarp-2.15.6 | 1 + sci-astronomy/swarp/metadata.xml | 13 ++++++++ sci-astronomy/swarp/swarp-2.15.6.ebuild | 44 +++++++++++++++++++++++++++ 5 files changed, 72 insertions(+) create mode 100644 sci-astronomy/swarp/ChangeLog create mode 100644 sci-astronomy/swarp/Manifest create mode 100644 sci-astronomy/swarp/files/digest-swarp-2.15.6 create mode 100644 sci-astronomy/swarp/metadata.xml create mode 100644 sci-astronomy/swarp/swarp-2.15.6.ebuild (limited to 'sci-astronomy') diff --git a/sci-astronomy/swarp/ChangeLog b/sci-astronomy/swarp/ChangeLog new file mode 100644 index 000000000..78d44aba0 --- /dev/null +++ b/sci-astronomy/swarp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-astronomy/swarp +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + +* swarp-2.15.6 (02 Dec 2005) + + 02 Dec 2005; Sebastien Fabbro swarp-2.15.6.ebuild + Initial import. Close bug #65685. + diff --git a/sci-astronomy/swarp/Manifest b/sci-astronomy/swarp/Manifest new file mode 100644 index 000000000..a82690266 --- /dev/null +++ b/sci-astronomy/swarp/Manifest @@ -0,0 +1,4 @@ +MD5 aabe65c29b196e2354aee2037f6c3f26 swarp-2.15.6.ebuild 1138 +MD5 79b02536bd71bf7a4f217cda0ec8edb4 metadata.xml 410 +MD5 82864d3f9ef6d22781f93f5bc56f1ec6 ChangeLog 259 +MD5 55cc4a25b090f2fbac8ee76ff19eb5e0 files/digest-swarp-2.15.6 65 diff --git a/sci-astronomy/swarp/files/digest-swarp-2.15.6 b/sci-astronomy/swarp/files/digest-swarp-2.15.6 new file mode 100644 index 000000000..0076de2e0 --- /dev/null +++ b/sci-astronomy/swarp/files/digest-swarp-2.15.6 @@ -0,0 +1 @@ +MD5 b958409eefab1673b3b22fdc3af576f2 swarp-2.15.6.tar.gz 1754163 diff --git a/sci-astronomy/swarp/metadata.xml b/sci-astronomy/swarp/metadata.xml new file mode 100644 index 000000000..44c262696 --- /dev/null +++ b/sci-astronomy/swarp/metadata.xml @@ -0,0 +1,13 @@ + + + +sci + + seb@ist.utl.pt + Sebastien Fabbro + + + SWarp takes astronomical FITS images with a WCS-like projection, resample + and coadd them together. + + diff --git a/sci-astronomy/swarp/swarp-2.15.6.ebuild b/sci-astronomy/swarp/swarp-2.15.6.ebuild new file mode 100644 index 000000000..359b2803e --- /dev/null +++ b/sci-astronomy/swarp/swarp-2.15.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit flag-o-matic + +DESCRIPTION="Resample and coadd astronomical FITS images" +HOMEPAGE="http://terapix.iap.fr/soft/${PN}" +SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="static doc threads mpi icc" +DEPEND="mpi? ( || ( sys-cluster/lam-mpi sys-cluster/mpich ) ) + icc? ( dev-lang/icc >= 9 ) + " +# mpi stuff untested. +src_compile() { + # trust swarp cflags to be optimized. + filter-flags ${CFLAGS} + # --disable-threads does not work + # note we could calculate a number of threads (~= ncpu) + local myconf="" + use threads && myconf="--enable-threads " + ! use mpi && export MPICC="gcc" + econf \ + $(use_enable static ) \ + $(use_enable icc ) \ + $(use_enable mpi ) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install () { + make DESTDIR=${D} install || die "make install failed" + dodoc AUTHORS ChangeLog COPYING HISTORY README THANKS + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/* + fi +} + -- cgit v1.2.3-65-gdbad