summaryrefslogtreecommitdiff
blob: 9aca948bd8cc61f8f7af91451695e58f9765c4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/qfits/qfits-6.2.0.ebuild,v 1.1 2007/02/23 00:48:16 bicatali Exp $

inherit eutils

DESCRIPTION="ESO stand-alone C library offering easy access to FITS files."
HOMEPAGE="http://www.eso.org/projects/aot/qfits/"
SRC_URI="ftp://ftp.hq.eso.org/pub/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND="virtual/libc"

src_unpack() {
	unpack ${A}
	cd "${S}"
	# test failed due to a switch between strcpy and strcat.
	epatch "${FILESDIR}"/${P}-ttest.patch
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc README AUTHORS
	use doc && dohtml html
}