summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-astronomy/sextractor/ChangeLog32
-rw-r--r--sci-astronomy/sextractor/metadata.xml13
-rw-r--r--sci-astronomy/sextractor/sextractor-2.5.0.ebuild44
3 files changed, 89 insertions, 0 deletions
diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
new file mode 100644
index 000000000000..869ac8652218
--- /dev/null
+++ b/sci-astronomy/sextractor/ChangeLog
@@ -0,0 +1,32 @@
+# ChangeLog for sci-astronomy/sextractor
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.1 2009/02/17 20:44:23 bicatali Exp $
+
+*sextractor-2.5.0 (17 Feb 2009)
+
+ 17 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +sextractor-2.5.0.ebuild:
+ Initial import to the main tree from the sci overlay, closing bug #65684
+
+ 02 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ sextractor-2.5.0-r1.ebuild:
+ filter optim flags
+
+ 26 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ sextractor-2.5.0-r1.ebuild:
+ Cleaning, adapting for new portage.
+
+ 29 Dec 2006; Sebastien Fabbro <seb@ist.utl.pt>;
+ Removed icc flag, too buggy.
+
+ 15 Oct 2006; Sebastien Fabbro <seb@ist.utl.pt>
+ +sextractor-2.5.0-r1.ebuild -sextractor-2.5.0.ebuild
+ -sextractor-2.4.4.ebuild: removed flag filtering, cleaning,
+ removed old versions.
+
+ 06 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> +sextractor-2.5.0.ebuild:
+ Version bump.
+
+ 26 Nov 2005; Sebastien Fabbro <seb@ist.utl.pt> +sextractor-2.4.4.ebuild:
+ Initial import. Close bug #65684
+
diff --git a/sci-astronomy/sextractor/metadata.xml b/sci-astronomy/sextractor/metadata.xml
new file mode 100644
index 000000000000..a889aa4e72f8
--- /dev/null
+++ b/sci-astronomy/sextractor/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ SExtractor (Source Extractor) is a program that builds a catalogue of
+ objects from an astronomical image. Although it is particularly
+ oriented towards reduction of large scale galaxy-survey data, it
+ performs rather well on moderately crowded star fields. It has the
+ ability to automatically separate stars and galaxy using neural
+ networks.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-astronomy/sextractor/sextractor-2.5.0.ebuild b/sci-astronomy/sextractor/sextractor-2.5.0.ebuild
new file mode 100644
index 000000000000..c9eb4cdf10d7
--- /dev/null
+++ b/sci-astronomy/sextractor/sextractor-2.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/sextractor-2.5.0.ebuild,v 1.1 2009/02/17 20:44:23 bicatali Exp $
+
+EAPI=2
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Extract catalogs of sources from astronomical FITS images."
+HOMEPAGE="http://terapix.iap.fr/soft/sextractor"
+SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+DEPEND=""
+RDEPEND=""
+
+src_configure() {
+ CONFDIR=/usr/share/${PN}/config
+ # change default configuration files location from current dir
+ sed -i -e "s:default\.:${CONFDIR}/default\.:" src/preflist.h || die
+ # buggy with >= O2
+ replace-flags -O[2-9] -O1
+ local myconf
+ [[ "$(tc-getCC)" == "icc" ]] & myconf="${myconf} --enable-icc"
+ econf "${myconf}" || die "econf failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog HISTORY README THANKS
+ insinto ${CONFDIR}
+ doins config/* || die
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/*
+ fi
+}
+
+pkg_postinst() {
+ elog "SExtractor configuration files are located"
+ elog "in ${CONFDIR} and loaded by default."
+}