/[gentoo-x86]/sci-astronomy/scamp/scamp-1.7.0-r1.ebuild
Gentoo

Contents of /sci-astronomy/scamp/scamp-1.7.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 31 11:02:10 2013 UTC (20 months, 4 weeks ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Dropped as announced due to dependence on atlas libs; find new version in sci overlay

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/scamp/scamp-1.7.0-r1.ebuild,v 1.3 2012/08/05 19:21:51 bicatali Exp $
4
5 EAPI=4
6 inherit eutils
7
8 DESCRIPTION="Astrometric and photometric solutions for astronomical images"
9 HOMEPAGE="http://www.astromatic.net/software/scamp"
10 SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
11
12 LICENSE="CeCILL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="doc threads plplot"
16
17 RDEPEND=">=sci-astronomy/cdsclient-3.4
18 virtual/cblas
19 >=sci-libs/lapack-atlas-3.8.0
20 sci-libs/fftw:3.0
21 plplot? ( sci-libs/plplot )"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 src_prepare() {
26 # gentoo uses cblas instead of ptcblas (linked to threaded with eselect)
27 sed -i \
28 -e 's/ptcblas/cblas/g' \
29 configure || die "sed failed"
30 epatch "${FILESDIR}"/${P}-plplot599.patch
31 }
32
33 src_configure() {
34 econf \
35 --with-atlas-incdir="${EROOT}/usr/include/atlas" \
36 $(use_with plplot) \
37 $(use_enable threads)
38 }
39
40 src_install () {
41 default
42 use doc && dodoc doc/*
43 }

  ViewVC Help
Powered by ViewVC 1.1.20