aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/fitscut/ChangeLog10
-rw-r--r--sci-misc/fitscut/Manifest14
-rw-r--r--sci-misc/fitscut/fitscut-1.4.4.ebuild38
-rw-r--r--sci-misc/fitscut/metadata.xml11
4 files changed, 73 insertions, 0 deletions
diff --git a/sci-misc/fitscut/ChangeLog b/sci-misc/fitscut/ChangeLog
new file mode 100644
index 000000000..10f64e206
--- /dev/null
+++ b/sci-misc/fitscut/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-misc/fitscut
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*fitscut-1.4.4 (02 Feb 2010)
+
+ 02 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ +fitscut-1.4.4.ebuild, +metadata.xml:
+ Initial import
+
diff --git a/sci-misc/fitscut/Manifest b/sci-misc/fitscut/Manifest
new file mode 100644
index 000000000..67be59c14
--- /dev/null
+++ b/sci-misc/fitscut/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST fitscut-1.4.4.tar.gz 163663 RMD160 96e1a5c018a8d001f9303dbf3576ea699ab9c090 SHA1 a9fa9883069f87cc6996a7eca26e953637edbe87 SHA256 1df936af9cd36bf1cd1e3a095ecc8bec68a6974525e0f4fd0e9cccb9633728bb
+EBUILD fitscut-1.4.4.ebuild 952 RMD160 f06dc892e1f52dee1386c097bcdf3935be803518 SHA1 bbac7df7931a49c76482ebfb0544d534f13225c9 SHA256 d56b8831d12448f6fa71482daad63fe2331bcbe2331fe0e742e4c474499042f8
+MISC ChangeLog 260 RMD160 c7c31c1902695ecaf8db1c44ac3d21ac5abcd3d7 SHA1 98ddfaef41318b2e188d74f19bbb91fbac4781ad SHA256 644884f945eed605662cd5961f2897df4d166e2ed043d5b1516407a489ee4e5c
+MISC metadata.xml 447 RMD160 6133647acd510d8ddb686e139375ba896c4eb1ac SHA1 37d50fc39b6887172ac98162d54db2f5190bccb7 SHA256 22345a69c3d06abfb56330b05d0797197d6a1cbee2b4c271e4827a86409c3b55
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktoUqgACgkQ1ycZbhPLE2AUgQCffcgfpat6zpa8MJj3YPRIVvQb
+evkAoKlRT8fHg73jgqjyNYC8onZW7NnB
+=OSQM
+-----END PGP SIGNATURE-----
diff --git a/sci-misc/fitscut/fitscut-1.4.4.ebuild b/sci-misc/fitscut/fitscut-1.4.4.ebuild
new file mode 100644
index 000000000..5c85213a8
--- /dev/null
+++ b/sci-misc/fitscut/fitscut-1.4.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/fitsverify/fitsverify-20100129.ebuild,v 1.1 2010/01/31 21:48:15 bicatali Exp $
+
+EAPI=2
+inherit autotools
+
+DESCRIPTION="Extract cutouts from FITS image files"
+HOMEPAGE="http://acs.pha.jhu.edu/general/software/fitscut/"
+SRC_URI="${HOMEPAGE}/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=sci-libs/cfitsio-3
+ sci-astronomy/wcstools
+ media-libs/libpng
+ media-libs/jpeg"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # gentoo wcs is called wcstools to avoid conflict with wcslib
+ sed -i \
+ -e 's/libwcs/wcs/g' \
+ wcs*.c fitscut.c || die
+ sed -i \
+ -e 's/LIB(wcs,/LIB(wcstools,/' \
+ -e 's/-lwcs/-lwcstools/' \
+ configure.in || die
+ eautoreconf
+}
+
+src_install() {
+ emake DESDTIR="${D}" || die "emake install failed"
+ dodoc README AUTHORS TODO NEWS ChangeLog THANKS
+}
diff --git a/sci-misc/fitscut/metadata.xml b/sci-misc/fitscut/metadata.xml
new file mode 100644
index 000000000..3b60a949c
--- /dev/null
+++ b/sci-misc/fitscut/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ fitscut is designed to extract cutouts from FITS image format
+ files. FITS, PNG, and JPEG output types are supported.
+ When multiple input files are specified and the output type is PNG or
+ JPEG the resulting image is an RGB color image.
+</longdescription>
+</pkgmetadata>