diff options
Diffstat (limited to 'sci-misc/fitsverify/fitsverify-20110304.ebuild')
-rw-r--r-- | sci-misc/fitsverify/fitsverify-20110304.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-misc/fitsverify/fitsverify-20110304.ebuild b/sci-misc/fitsverify/fitsverify-20110304.ebuild new file mode 100644 index 000000000000..eb94dd818835 --- /dev/null +++ b/sci-misc/fitsverify/fitsverify-20110304.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/fitsverify/fitsverify-20110304.ebuild,v 1.1 2011/03/08 05:38:44 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 -> ${P}.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} $(pkg-config --cflags cfitsio) \ + ftverify.c fvrf*.c \ + $(pkg-config --libs cfitsio) -o ${PN} || die "compiled failed" +} + +src_install() { + dobin fitsverify || die + dodoc README +} |