From be8708090362c01c6111c4b76f1e395c14d86e00 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 13 Aug 2024 11:06:03 +0100 Subject: gentoo auto-resync : 13:08:2024 - 11:06:03 --- sci-astronomy/Manifest.gz | Bin 6195 -> 6197 bytes sci-astronomy/funtools/Manifest | 2 +- sci-astronomy/funtools/funtools-1.4.8-r1.ebuild | 82 ++++++++++++++++++++++++ sci-astronomy/funtools/funtools-1.4.8.ebuild | 81 ----------------------- 4 files changed, 83 insertions(+), 82 deletions(-) create mode 100644 sci-astronomy/funtools/funtools-1.4.8-r1.ebuild delete mode 100644 sci-astronomy/funtools/funtools-1.4.8.ebuild (limited to 'sci-astronomy') diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz index 0c4374db6715..4ca427545428 100644 Binary files a/sci-astronomy/Manifest.gz and b/sci-astronomy/Manifest.gz differ diff --git a/sci-astronomy/funtools/Manifest b/sci-astronomy/funtools/Manifest index a06dcd0d98dc..2b8a82acd859 100644 --- a/sci-astronomy/funtools/Manifest +++ b/sci-astronomy/funtools/Manifest @@ -1,3 +1,3 @@ DIST funtools-1.4.8.tar.gz 3281636 BLAKE2B dd1fd341786e09662a6de88a102a01f02be78775bdada938c4df79f6bae388d07d711df46f52eaea6557589450e104aaff65b0823758161f1aea3301f5a82338 SHA512 f916ce582d66f0350448912be6ec427b0c697e7da49595ec04e86b105af76d229d7721b5fee8844f843b1734129b53402228d7736e55fbae83df405362fb8a6c -EBUILD funtools-1.4.8.ebuild 1917 BLAKE2B 8efd1f8f061610a7cf6d914f4f6e783cd99d7c8cc6fdddceac5d3e718288e772de8c311acbec77fc7ead4d94091061b0d109f6734c3bbbdf87a157c114bbfea2 SHA512 df6c93e2e07b860f80c59d6fb08d545ee78320c998095fa4ccabd3aab44ba994f76d395a229fdcb92903e009dc75aeadbfb200b62ed1665cefe55218f180209c +EBUILD funtools-1.4.8-r1.ebuild 1980 BLAKE2B bbca48af4922dff3bc49a1abf68c4819923ab35f95f8fcfe30f504d7cff99e1799b14f66ce955a3c6898ea95eb0662e01f056e4fa954268f053ad6941819c9ba SHA512 ada02db5055e53d92056d7ef0a1f8818f80ac071dfab0b7bf33d76b877fb161ffb32a1be544e20539f949d8b9eace8893206872815b127ad28a728bf89e2c488 MISC metadata.xml 730 BLAKE2B f61bfa4bd01e5cbc059bcd3632090177da35ae6ac6b91362b408630f9ef533d598e70bdaa46c4ae9e33d2a1dc5f82b4bcb3c9f2fc94548d07aab045229085f4a SHA512 08e091dd36f285586fc6973d7ca3e59497ce05ca13fc66d5e543b0d27b710b2abedb6e210bfa074ae24a3cdc55db4e767f51fba8e459753903bc2c6fa799d03d diff --git a/sci-astronomy/funtools/funtools-1.4.8-r1.ebuild b/sci-astronomy/funtools/funtools-1.4.8-r1.ebuild new file mode 100644 index 000000000000..ae1f275205f0 --- /dev/null +++ b/sci-astronomy/funtools/funtools-1.4.8-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs autotools + +DESCRIPTION="FITS library and utlities for astronomical images" +HOMEPAGE="https://github.com/ericmandel/funtools" +SRC_URI="https://github.com/ericmandel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/1" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc static-libs" + +RDEPEND=" + dev-lang/tcl:0= + sci-astronomy/wcstools + sci-visualization/gnuplot + sys-libs/zlib:0= +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + # respect libdir, dont build wcs, respect toolchain + sed -e "/INSTALL/s|/lib|/$(get_libdir)|g" \ + -e 's|${OBJS}|$(OBJS)|g' \ + -e '/^SUBLIBS/s|wcs||g' \ + -e 's/mkdir/mkdir -p/g' \ + -e '/mklib/s|-o $(PACKAGE)|-o $(PACKAGE) $(LIBS)|g' \ + -e 's|./mklib|& -linker "$(CC)" -ldflags "$(LDFLAGS)"|' \ + -e "s| ar| $(tc-getAR)|g" \ + -e "s|ar cruv|$(tc-getAR) cruv|g" \ + -e "s|WCS_INC.*=.*|WCS_INC = $($(tc-getPKG_CONFIG) --cflags wcstools)|g" \ + -i Makefile.in */Makefile.in || die + # fix race condition (when ccache is on) + sed -e 's|$(LIB):|$(LIB): FORCE|g' \ + -e '$aFORCE:' \ + -i */Makefile.in || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --exec-prefix="${EPREFIX}/usr" + --enable-shared + --enable-dl + --with-wcslib="$($(tc-getPKG_CONFIG) --libs wcstools)" + --with-zlib="$($(tc-getPKG_CONFIG) --libs zlib)" + --with-tcl="${EPREFIX}/usr/$(get_libdir)" + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake + emake shtclfun +} + +src_install() { + default + # install missing includes + insinto /usr/include/funtools/fitsy + doins fitsy/*.h + + # fix bug #536630 + mv "${ED}"/usr/share/man/man3/funopen.3 \ + "${ED}"/usr/share/man/man7/funopen.7 \ + || die + + if use doc; then + dodoc doc/*.pdf doc/*html doc/*c + docompress -x /usr/share/doc/${PF}/*.c + fi + + if ! use static-libs; then + find "${ED}" -name "*.a" -type f -delete || die + fi +} diff --git a/sci-astronomy/funtools/funtools-1.4.8.ebuild b/sci-astronomy/funtools/funtools-1.4.8.ebuild deleted file mode 100644 index c7ba18476c52..000000000000 --- a/sci-astronomy/funtools/funtools-1.4.8.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs autotools - -DESCRIPTION="FITS library and utlities for astronomical images" -HOMEPAGE="https://github.com/ericmandel/funtools" -SRC_URI="https://github.com/ericmandel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/1" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc static-libs" - -RDEPEND=" - dev-lang/tcl:0= - sci-astronomy/wcstools:0= - sci-visualization/gnuplot - sys-libs/zlib:0= -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - # respect libdir, dont build wcs, respect toolchain - sed -e "/INSTALL/s|/lib|/$(get_libdir)|g" \ - -e 's|${OBJS}|$(OBJS)|g' \ - -e '/^SUBLIBS/s|wcs||g' \ - -e 's/mkdir/mkdir -p/g' \ - -e '/mklib/s|-o $(PACKAGE)|-o $(PACKAGE) $(LIBS)|g' \ - -e "s| ar| $(tc-getAR)|g" \ - -e "s|ar cruv|$(tc-getAR) cruv|g" \ - -e "s|WCS_INC.*=.*|WCS_INC = $($(tc-getPKG_CONFIG) --cflags wcstools)|g" \ - -i Makefile.in */Makefile.in || die - # fix race condition (when ccache is on) - sed -e 's|$(LIB):|$(LIB): FORCE|g' \ - -e '$aFORCE:' \ - -i */Makefile.in || die - eautoreconf -} - -src_configure() { - local myeconfargs=( - --exec-prefix="${EPREFIX}/usr" - --enable-shared - --enable-dl - --with-wcslib="$($(tc-getPKG_CONFIG) --libs wcstools)" - --with-zlib="$($(tc-getPKG_CONFIG) --libs zlib)" - --with-tcl="${EPREFIX}/usr/$(get_libdir)" - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - emake - emake shtclfun -} - -src_install() { - default - # install missing includes - insinto /usr/include/funtools/fitsy - doins fitsy/*.h - - # fix bug #536630 - mv "${ED}"/usr/share/man/man3/funopen.3 \ - "${ED}"/usr/share/man/man7/funopen.7 \ - || die - - if use doc; then - dodoc doc/*.pdf doc/*html doc/*c \ - docompress -x /usr/share/doc/${PF}/*.c - fi - - if ! use static-libs; then - find "${ED}" -name "*.a" -delete || die - fi -} -- cgit v1.2.3