From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-misc/fitsverify/fitsverify-4.18.ebuild | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 sci-misc/fitsverify/fitsverify-4.18.ebuild (limited to 'sci-misc/fitsverify/fitsverify-4.18.ebuild') diff --git a/sci-misc/fitsverify/fitsverify-4.18.ebuild b/sci-misc/fitsverify/fitsverify-4.18.ebuild new file mode 100644 index 000000000000..b7daee4cc8e1 --- /dev/null +++ b/sci-misc/fitsverify/fitsverify-4.18.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="FITS file format checker" +HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/ftools/fitsverify/" +SRC_URI="${HOMEPAGE}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="sci-libs/cfitsio:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${PN}" + +src_compile() { + $(tc-getCC) ${CPPFLAGS} -DSTANDALONE ${CFLAGS} ${LDFLAGS} \ + $($(tc-getPKG_CONFIG) --cflags cfitsio) \ + ftverify.c fvrf*.c \ + $($(tc-getPKG_CONFIG) --libs cfitsio) -o ${PN} \ + || die "compiled failed" +} + +src_install() { + dobin fitsverify + dodoc README +} -- cgit v1.2.3