/[gentoo-x86]/sci-libs/ccfits/ccfits-2.2.ebuild
Gentoo

Contents of /sci-libs/ccfits/ccfits-2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 13 04:46:21 2012 UTC (8 years, 7 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.1.10.41/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/ccfits/ccfits-2.2.ebuild,v 1.1 2010/01/20 02:32:36 bicatali Exp $
4
5 EAPI=2
6 inherit eutils autotools
7
8 MYPN=CCfits
9 MYP=${MYPN}-${PV}
10
11 DESCRIPTION="C++ interface for cfitsio"
12 HOMEPAGE="http://heasarc.gsfc.nasa.gov/fitsio/CCfits/"
13 SRC_URI="${HOMEPAGE}/${MYP}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="doc"
19
20 RDEPEND=">=sci-libs/cfitsio-3.080"
21 DEPEND="${RDEPEND}"
22
23 S="${WORKDIR}/${MYPN}"
24
25 src_prepare() {
26 # avoid building cookbook by default and no rpath
27 epatch "${FILESDIR}"/${P}-makefile.patch
28 AT_M4DIR=config/m4 eautoreconf
29 }
30
31 src_test() {
32 emake check || die
33 }
34
35 src_install () {
36 emake DESTDIR="${D}" install || die "emake install failed"
37 dodoc CHANGES
38 if use doc; then
39 insinto /usr/share/doc/${PF}
40 doins *.pdf || die
41 doins -r html || die
42 fi
43 }

  ViewVC Help
Powered by ViewVC 1.1.20