blob: 6c7267eb97c186daca99312fd4a3512c7a4dd5f4 (
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
28
29
30
31
32
33
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/esorex/esorex-3.8.3-r1.ebuild,v 1.2 2011/02/24 17:25:03 bicatali Exp $
EAPI=2
inherit autotools eutils
DESCRIPTION="ESO Recipe Execution Tool to exec cpl scripts"
HOMEPAGE="http://www.eso.org/sci/software/cpl/esorex.html"
SRC_URI="ftp://ftp.eso.org/pub/cpl/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND=">=sci-astronomy/cpl-5.2"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-cfitsio.patch
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc README AUTHORS NEWS TODO BUGS ChangeLog || die
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples || die
fi
}
|