aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
commit76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch)
tree94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sci-astronomy/sextractor
parentmove stuff to root (diff)
downloadsci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-astronomy/sextractor')
-rw-r--r--sci-astronomy/sextractor/ChangeLog32
-rw-r--r--sci-astronomy/sextractor/Manifest4
-rw-r--r--sci-astronomy/sextractor/metadata.xml13
-rw-r--r--sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild45
4 files changed, 94 insertions, 0 deletions
diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
new file mode 100644
index 000000000..445f0675b
--- /dev/null
+++ b/sci-astronomy/sextractor/ChangeLog
@@ -0,0 +1,32 @@
+# ChangeLog for sci-astronomy/sextractor
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 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.
+
+*sextractor-2.5.0-r1 (15 Oct 2006)
+
+ 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.
+
+*sextractor-2.5.0 (06 Sep 2006)
+
+ 06 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt> +sextractor-2.5.0.ebuild:
+ Version bump.
+
+*sextractor-2.4.4 (27 Nov 2005)
+
+ 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/Manifest b/sci-astronomy/sextractor/Manifest
new file mode 100644
index 000000000..3c336634f
--- /dev/null
+++ b/sci-astronomy/sextractor/Manifest
@@ -0,0 +1,4 @@
+DIST sextractor-2.5.0.tar.gz 2321708 RMD160 336e3a47f57416ad50bbbdd2afb4ff7e858556d0 SHA1 84e111ea0796428d9336de7add3820575fd7d4cb SHA256 786f987818546d9b72fea7e786f040b63e31fbc46325deb58929251065573303
+EBUILD sextractor-2.5.0-r1.ebuild 1163 RMD160 328a5ee10e4e376f62a4ba9a0ae0454076b0f37f SHA1 b23d9636808717f3efbc1f24b111c7ea78a59895 SHA256 7cbcb59ab0b5387b6c744544772501fc0ea58879296e796ddd63c38c026c498e
+MISC ChangeLog 937 RMD160 54da2bfecc18b186fd33624caabcdea6bd621ce1 SHA1 4d6863d7c0aa62eec2b8d76fa6d7b2a67a25ddaa SHA256 5ab04874bbd2f07b929637b1bedded6938b98fef555044da2e743e7b4cdc5a75
+MISC metadata.xml 543 RMD160 8b6f4b17ec88b648a25b6a45cc07aa62b8530e6a SHA1 c85e639d87aae9e2b94fe1f67f5ffa724e080374 SHA256 45445f0c002e393359b2d580ea0f0d991b15cb01c829e6d0c1ead8e53e6bc1dc
diff --git a/sci-astronomy/sextractor/metadata.xml b/sci-astronomy/sextractor/metadata.xml
new file mode 100644
index 000000000..cd5cd149f
--- /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-r1.ebuild b/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild
new file mode 100644
index 000000000..5c4200427
--- /dev/null
+++ b/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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=""
+RESTRICT="test"
+
+src_compile() {
+ CONFDIR=/usr/share/${PN}/config
+ # change default configuration files location from current dir
+ sed -i -e "s:default\.:${CONFDIR}/default\.:" src/preflist.h
+ # buggy with >= O2
+ replace-flags -O[2-9] -O1
+ local myconf
+ [[ "$(tc-getCC)" == "icc" ]] \
+ && myconf="${myconf} --enable-icc"
+ econf "${myconf}" || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog HISTORY README THANKS
+ insinto ${CONFDIR}
+ doins config/*
+ 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."
+}