--- /dev/null
+# ChangeLog for sci-libs/qfits
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/qfits/ChangeLog,v 1.1 2007/02/23 00:48:16 bicatali Exp $
+
+*qfits-6.2.0 (23 Feb 2007)
+
+ 23 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/qfits-6.2.0-ttest.patch, +metadata.xml, +qfits-6.2.0.ebuild:
+ Initial import. qfits is a low-level not-bloated FITS i/o library,
+ developped at ESO.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX qfits-6.2.0-ttest.patch 376 RMD160 ffedc2f7d6e801f72393d4e65baa8692ee2815a4 SHA1 dfefd5e7fece6e76b580dc01b197333d5d96fbf5 SHA256 da394f2977ddaec1d33a1389516c84320c420da90d08d743672c426b22b9860c
+MD5 fb85e0feec029357a73c9d46494df7f9 files/qfits-6.2.0-ttest.patch 376
+RMD160 ffedc2f7d6e801f72393d4e65baa8692ee2815a4 files/qfits-6.2.0-ttest.patch 376
+SHA256 da394f2977ddaec1d33a1389516c84320c420da90d08d743672c426b22b9860c files/qfits-6.2.0-ttest.patch 376
+DIST qfits-6.2.0.tar.gz 475191 RMD160 3072bb4f4d2b3fb73432693075471b19229f1a30 SHA1 c070cd357a924a0a79d752a3e475fafd614e38e9 SHA256 04f628ee966859c2e3c58cd63955544adc31a3b3901bf42c25fbb1feb98f8ed1
+EBUILD qfits-6.2.0.ebuild 758 RMD160 a8b12cc947deec3395630b55adc4ba0e41494573 SHA1 b68d9b258c9c8f1f189e55598a5e562d5e907405 SHA256 d0552c28d767eab956bd296bb20bf25ba6a0ba8ac7b6457163fc776a6da7f710
+MD5 742b5c5ce8fc2d630feeee4959afd4f4 qfits-6.2.0.ebuild 758
+RMD160 a8b12cc947deec3395630b55adc4ba0e41494573 qfits-6.2.0.ebuild 758
+SHA256 d0552c28d767eab956bd296bb20bf25ba6a0ba8ac7b6457163fc776a6da7f710 qfits-6.2.0.ebuild 758
+MISC ChangeLog 448 RMD160 01f54c52b815856cb6282237dcdf436a525e073f SHA1 bf74d606ff9e2aa93f76004ee0bbc51e14a41cb8 SHA256 62417f4249a425f05d01eef1f373ed780323aeb5205f8b0e49c655b3d47fffe7
+MD5 9d211296d535ff7a684fd4e0cbeeca8a ChangeLog 448
+RMD160 01f54c52b815856cb6282237dcdf436a525e073f ChangeLog 448
+SHA256 62417f4249a425f05d01eef1f373ed780323aeb5205f8b0e49c655b3d47fffe7 ChangeLog 448
+MISC metadata.xml 746 RMD160 0b595cbb759e13feeca7255766ba1fdfc921fd98 SHA1 8ed4680efa245f098856f745f4f60f328be2b29c SHA256 4b4d7a31dc874f6349ec422c3d31178027501517844e026f2774cfc6377b532e
+MD5 138d0f2c0e0131b8ec852a4a3576bee4 metadata.xml 746
+RMD160 0b595cbb759e13feeca7255766ba1fdfc921fd98 metadata.xml 746
+SHA256 4b4d7a31dc874f6349ec422c3d31178027501517844e026f2774cfc6377b532e metadata.xml 746
+MD5 d5ad94ec7c0bd2c840bc86e153849d4d files/digest-qfits-6.2.0 235
+RMD160 a2155d7bdca4950e4da69e81d380542f06d95f2e files/digest-qfits-6.2.0 235
+SHA256 750b4bdddbe0710acc4b8037bc0a28f0353b46d43fcf53ee20346a4269cb7d1a files/digest-qfits-6.2.0 235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFF3jnnWc/Ciu+QQGkRAvKnAJ42qEV+pgcTyBGhqQlTZGIPkh3CUwCfZVKR
+eusd3aiCFk+wUcmzFaPjwwY=
+=Zznr
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 cf1b97ce1cd4c1c15a4a430b84b65263 qfits-6.2.0.tar.gz 475191
+RMD160 3072bb4f4d2b3fb73432693075471b19229f1a30 qfits-6.2.0.tar.gz 475191
+SHA256 04f628ee966859c2e3c58cd63955544adc31a3b3901bf42c25fbb1feb98f8ed1 qfits-6.2.0.tar.gz 475191
--- /dev/null
+--- test/test_tfits.c 2006-04-27 14:08:43.000000000 +0100
++++ test/test_tfits.c.new 2007-02-23 00:29:41.000000000 +0000
+@@ -322,7 +322,7 @@
+ * Test on BINARY tables
+ */
+ say("Test the BINARY table") ;
+- strcat(filename, srcdir) ;
++ strcpy(filename, srcdir) ;
+ strcat(filename, BIN_TABLE_NAME) ;
+ err += qfits_test_table(filename, 1) ;
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+qfits is a stand-alone library written in C to interact with files
+complying with the FITS format. It is fast and portable over any kind
+of POSIX-compliant platform.
+Rather than going through the FITS format specification and trying to
+implement some support for everything that is described there, this
+library was built day after day upon request. This guarantees that
+all the functions you will find in the library have been written for
+some purpose in the VLT pipeline context, and all of them are used
+daily in a production environment.
+</longdescription>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/qfits/qfits-6.2.0.ebuild,v 1.1 2007/02/23 00:48:16 bicatali Exp $
+
+inherit eutils
+
+DESCRIPTION="ESO stand-alone C library offering easy access to FITS files."
+HOMEPAGE="http://www.eso.org/projects/aot/qfits/"
+SRC_URI="ftp://ftp.hq.eso.org/pub/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # test failed due to a switch between strcpy and strcat.
+ epatch "${FILESDIR}"/${P}-ttest.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS
+ use doc && dohtml html
+}