From 185fa19bbf68a4d4dca534d2b46729207a177f16 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 11 May 2021 19:55:43 +0100 Subject: gentoo resync : 11.05.2021 --- sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild') diff --git a/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild index ff1ebd1455cc..32762bcf8728 100644 --- a/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild +++ b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + +inherit toolchain-funcs MY_PN=XFITSview MY_P=${MY_PN}${PV} @@ -9,26 +11,28 @@ MY_P=${MY_PN}${PV} DESCRIPTION="Viewer for astronomical images in FITS format" HOMEPAGE="http://www.nrao.edu/software/fitsview/" SRC_URI="ftp://ftp.cv.nrao.edu/fits/os-support/unix/xfitsview/${PN}${PV}.tgz" +S="${WORKDIR}/${MY_PN}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" DEPEND=">=x11-libs/motif-2.3:0" RDEPEND="${DEPEND}" -S=${WORKDIR}/${MY_PN} - -DOCS=( README changes notes.text ) PATCHES=( "${FILESDIR}"/${P}-build_system.patch ) src_prepare() { default - find "${S}" -name '*old.c' -delete || die + find -name '*old.c' -delete || die +} + +src_configure() { + tc-export AR + default } src_install() { dobin XFITSview - einstalldocs + dodoc README changes notes.text } -- cgit v1.2.3