diff options
Diffstat (limited to 'sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild')
-rw-r--r-- | sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild b/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild deleted file mode 100644 index 5c4200427..000000000 --- a/sci-astronomy/sextractor/sextractor-2.5.0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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." -} |