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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Aug 3 17:20:43 2012 UTC (7 years, 11 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
keyword amd64-linux x86-linux

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

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-libs/ccfits/ccfits-2.4.ebuild,v 1.1 2012/01/13 04:46:20 bicatali Exp $
4
5 EAPI=4
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 ~amd64-linux ~x86-linux"
18 IUSE="doc static-libs"
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}"/${PN}-2.2-makefile.patch
28 AT_M4DIR=config/m4 eautoreconf
29 }
30
31 src_configure() {
32 econf $(use_enable static-libs static)
33 }
34
35 src_install () {
36 default
37 use doc && dodoc *.pdf && dohtml -r html/*
38 }

  ViewVC Help
Powered by ViewVC 1.1.20