summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-07-08 23:23:33 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-07-08 23:23:33 +0000
commit324b24068f02e5a076b71b91ca1a53d8690a38c0 (patch)
treebfa8ae09a82d9eeda6b41d6718a1b34ce4ddfd1c /sci-astronomy/funtools/funtools-1.4.0.ebuild
parentVersion bump, bug #469078. (diff)
downloadgentoo-2-324b24068f02e5a076b71b91ca1a53d8690a38c0.tar.gz
gentoo-2-324b24068f02e5a076b71b91ca1a53d8690a38c0.tar.bz2
gentoo-2-324b24068f02e5a076b71b91ca1a53d8690a38c0.zip
Switch to EAPI5, add static-libs flag, include some patches from Debian
(Portage version: 2.2.01.22120-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-astronomy/funtools/funtools-1.4.0.ebuild')
-rw-r--r--sci-astronomy/funtools/funtools-1.4.0.ebuild59
1 files changed, 0 insertions, 59 deletions
diff --git a/sci-astronomy/funtools/funtools-1.4.0.ebuild b/sci-astronomy/funtools/funtools-1.4.0.ebuild
deleted file mode 100644
index 7f3c6ee5ccb6..000000000000
--- a/sci-astronomy/funtools/funtools-1.4.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/funtools/funtools-1.4.0.ebuild,v 1.6 2012/05/04 06:46:12 jdhore Exp $
-
-EAPI=2
-inherit eutils
-
-DESCRIPTION="FITS library and utlities for astronomical images"
-HOMEPAGE="http://www.cfa.harvard.edu/~john/funtools/"
-SRC_URI="http://cfa-www.harvard.edu/~john/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-ds9-5.4.patch.bz2"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
-
-RDEPEND="sys-libs/zlib
- >=sci-astronomy/wcstools-3.7.6
- sci-visualization/gnuplot"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-src_prepare() {
- epatch "${WORKDIR}"/${P}-ds9-5.4.patch
- epatch "${FILESDIR}"/${P}-makefiles.patch
- sed -i \
- -e "s:\${LINK}:\${LINK} ${LDFLAGS}:" \
- mklib || die "sed for ldflags failed"
-}
-
-src_configure() {
- econf \
- --enable-shared \
- --enable-dl \
- --enable-mainlib \
- --with-wcslib="$(pkg-config --libs wcstools)" \
- --with-zlib=-lz \
- --with-tcl=-ltcl \
- WCS_INC="$(pkg-config --cflags wcstools)"
-}
-
-src_compile() {
- emake || die "emake failed"
- emake shtclfun || die "emake tcl functions failed"
-}
-
-src_install () {
- emake INSTALL_ROOT="${D}" install || die "emake install failed"
- # install missing includes
- insinto /usr/include/funtools/fitsy
- doins fitsy/*.h || die
- if use doc; then
- cd doc
- insinto /usr/share/doc/${PF}
- doins *.pdf || die
- insinto /usr/share/doc/${PF}/html
- doins *.html *.c || die
- fi
-}