157.3. wcslib-8.9
The FITS World Coordinate System — pixel to sky, and back
8.9-1 · LGPL-3.0-or-later · 0.9 SBU · 5.6 MiB, 52 files · 41_system, 86 of 1047 · ports/core/astronomy/wcslib
Homepage: https://www.atnf.csiro.au/computing/software/wcs/
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/astronomy.txt:
Pixel to sky and back. Without --disable-fortran configure builds a library that is silently missing half its interface when no Fortran wrapper is made.
Required by (2): astropy, gnuastro.
Sources: wcslib-8.9.tar.bz2 (5.9 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install wcslib'
build.sh:
./configure --prefix=/usr --libdir=/usr/lib \
--without-pgplot --without-x --disable-fortran --with-cfitsio
make LDFLAGS="$LDFLAGS"
make LDFLAGS="$LDFLAGS" DESTDIR=$PKG install
Programs: HPXcvt, fitshdr, sundazel, tofits, wcsware.
Libraries: libwcs-8.9.a, libwcs.a, libwcs.so.
Directories: /usr/include/wcslib-8.9, /usr/share/doc/wcslib-8.9, /usr/share/licenses/wcslib.