sci-astronomy/wcslib: Drop 5.15

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2019-12-10 12:00:36 +01:00
parent 0115f8d9a0
commit 7826eb7a69
2 changed files with 0 additions and 72 deletions

View File

@@ -1,2 +1 @@
DIST wcslib-5.15.tar.bz2 2222193 BLAKE2B 7e198b7d80d801794443fa6a0e6137588049605af131bdd547408d2eb8ac391078c750f782734bf8b86af99084bfc64bbd807245f452dee838a58037985ef022 SHA512 b98111d7ca4b14dd479b56a368fd89a4d6f5d3741a61edeecc4a738def35bf448b68daf6a553fe88d4c84f91f5fcab3bc8d3ead1dccbd4e7c4190f31de2242ef
DIST wcslib-5.16.tar.bz2 2222111 BLAKE2B e11da145db6366804321cf415bdac621a930418f09d788c8b94413980710bb43357129a830462339127398082700a9f44f56dc0b8c96ef923d41ea0174dfd07f SHA512 bf7ab586995bdade8b96c77dee891c7d7ab6de82a7e2f94a09d89643e93658063f832efdb66e0bba11ad114b6e0ca555cba9308a84f0f22fb833e3a6303cefe6

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
FORTRAN_NEEDED=fortran
inherit fortran-2
DESCRIPTION="Astronomical World Coordinate System transformations library"
HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
SLOT="0/5"
LICENSE="LGPL-3"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc fortran fits pgplot static-libs +tools"
RDEPEND="
fits? ( sci-libs/cfitsio:0= )
pgplot? ( sci-libs/pgplot:0= )"
DEPEND="${RDEPEND}
sys-devel/flex
virtual/pkgconfig"
src_configure() {
local myconf=(
--docdir="${EPREFIX}"/usr/share/doc/${PF}
--htmldir="${EPREFIX}"/usr/share/doc/${PF}
$(use_enable fortran)
$(use_enable tools utils)
)
# hacks because cfitsio and pgplot directories are hard-coded
if use fits; then
myconf+=(
--with-cfitsioinc="${EPREFIX}/usr/include"
--with-cfitsiolib="${EPREFIX}/usr/$(get_libdir)"
)
else
myconf+=( --without-cfitsio )
fi
if use pgplot; then
myconf+=(
--with-pgplotinc="${EPREFIX}/usr/include"
--with-pgplotlib="${EPREFIX}/usr/$(get_libdir)"
)
else
myconf+=( --without-pgplot )
fi
econf ${myconf[@]}
sed -i -e 's/COPYING\*//' GNUmakefile || die
}
src_compile() {
# nasty makefile, debugging means probably full rewrite
emake -j1
}
src_test() {
emake -j1 check
}
src_install () {
default
# static libs share the same symbols as shared (i.e. compiled with PIC)
# so they are not compiled twice
use static-libs || rm "${ED}"/usr/$(get_libdir)/lib*.a
use doc || rm -r \
"${ED}"/usr/share/doc/${PF}/html \
"${ED}"/usr/share/doc/${PF}/*.pdf
}