summaryrefslogtreecommitdiff
blob: 0230296ecb37fcc398a6a3d010bb552c94ba6744 (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
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit subversion eutils

DESCRIPTION="The fpipe: a CCD and high energy astrophysics data analysis package"
HOMEPAGE=""
ESVN_REPO_URI="http://pulsar.sternwarte.uni-erlangen.de/repos/fpipe/trunk/software"
SRC_URI=""

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="+debug"

DEPEND="x11-base/xorg-server
	>=sci-libs/cfitsio-3.000
	>=x11-libs/gtk+-2.8
	x11-libs/cairo
	sys-libs/readline
	sci-libs/xpalib
	dev-libs/pth"
# and from CPAN: Tk::DataTree, IPC::XPA
RDEPEND="${DEPEND}
	dev-lang/perl
	dev-perl/perl-tk
	dev-perl/XML-Simple
	virtual/perl-Time-HiRes"

# ESVN_OFFLINE="yes"
ESVN_UP_FREQ="1"
ESVN_BOOTSTRAP="bootstrap.sh"


src_compile () {
	econf $(use_enable debug) CFLAGS="-fPIC" || die "econf failed"
	emake || die "emake failed"
}


src_install () {
	einstall || die "einstall failed"
}