summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-01-31 21:48:15 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-01-31 21:48:15 +0000
commit2f875a3400236cb9c359d48816c87464a57064d3 (patch)
tree34f1e57e08999f373ce1fb850e36b2ff693c2563 /sci-misc/fitsverify/fitsverify-20100129.ebuild
parentFix install error, bug #302903. Removed old code for multilib-installs. (diff)
downloadgentoo-2-2f875a3400236cb9c359d48816c87464a57064d3.tar.gz
gentoo-2-2f875a3400236cb9c359d48816c87464a57064d3.tar.bz2
gentoo-2-2f875a3400236cb9c359d48816c87464a57064d3.zip
Initial import
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc/fitsverify/fitsverify-20100129.ebuild')
-rw-r--r--sci-misc/fitsverify/fitsverify-20100129.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-misc/fitsverify/fitsverify-20100129.ebuild b/sci-misc/fitsverify/fitsverify-20100129.ebuild
new file mode 100644
index 000000000000..41701de97985
--- /dev/null
+++ b/sci-misc/fitsverify/fitsverify-20100129.ebuild
@@ -0,0 +1,32 @@
+# 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 toolchain-funcs
+
+DESCRIPTION="FITS file format checker"
+HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/ftools/fitsverify/"
+SRC_URI="${HOMEPAGE}/${PN}.tar"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=sci-libs/cfitsio-3"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ $(tc-getCC) -DSTANDALONE ${CFLAGS} ${LDFLAGS} \
+ ftverify.c fvrf_data.c fvrf_file.c fvrf_head.c fvrf_key.c fvrf_misc.c \
+ -o ${PN} $(pkg-config --libs cfitsio) || die "compiling failed"
+}
+
+src_install() {
+ dobin fitsverify || die
+ dodoc README
+}