summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-04-19 16:27:39 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-04-19 16:27:39 +0000
commit262a59140f9ead9514d40d1dff1c050196050adb (patch)
tree463c30a9291e6736ce4749305e8fc63ebfa5053a /sci-astronomy/xfitsview/xfitsview-2.1.ebuild
parentWork around browser plugin flaw. (diff)
downloadhistorical-262a59140f9ead9514d40d1dff1c050196050adb.tar.gz
historical-262a59140f9ead9514d40d1dff1c050196050adb.tar.bz2
historical-262a59140f9ead9514d40d1dff1c050196050adb.zip
Initial import. Closingbug #92850.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sci-astronomy/xfitsview/xfitsview-2.1.ebuild')
-rw-r--r--sci-astronomy/xfitsview/xfitsview-2.1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-astronomy/xfitsview/xfitsview-2.1.ebuild b/sci-astronomy/xfitsview/xfitsview-2.1.ebuild
new file mode 100644
index 000000000000..0da959c4bd6a
--- /dev/null
+++ b/sci-astronomy/xfitsview/xfitsview-2.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xfitsview/xfitsview-2.1.ebuild,v 1.1 2007/04/19 16:27:39 bicatali Exp $
+
+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="virtual/motif"
+
+S=${WORKDIR}/${MY_PN}
+
+src_compile() {
+ econf || die "econf failed"
+ # trick to make parallel building work
+ for d in fitssubs src; do
+ pushd ${d}
+ emake || die "emake ${d} failed"
+ popd
+ done
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ dodoc README changes notes.text
+ dobin XFITSview
+}