blob: 97bbac7a8d78882e4df535b83746cdddbc681cea (
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/xfitsview/xfitsview-2.2-r1.ebuild,v 1.2 2010/10/10 21:14:52 ulm Exp $
EAPI=2
inherit eutils
MY_PN=XFITSview
MY_P=${MY_PN}${PV}
DESCRIPTION="Viewer for astronomical images in FITS format"
HOMEPAGE="http://www.nrao.edu/software/fitsview/"
SRC_URI="ftp://ftp.cv.nrao.edu/fits/os-support/unix/xfitsview/${PN}${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=x11-libs/openmotif-2.3:0"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_PN}
src_prepare() {
find "${S}" -name "*old.c" -delete || die
epatch "${FILESDIR}"/${P}-build_system.patch
}
src_install() {
dobin XFITSview || die
dodoc README changes notes.text || die
}
|