Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

157.2. erfa-2.0.1

Essential Routines for Fundamental Astronomy — the IAU standard, relicensed

2.0.1-1 · BSD-3-Clause · 0.5 SBU · 459.4 KiB, 9 files · 41_system, 85 of 1047 · ports/core/astronomy/erfa

Homepage: https://github.com/liberfa/erfa

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/astronomy.txt:

The IAU's own SOFA routines, relicensed so they can be shipped here at all.

Depends on: autoconf, automake, libtool.

Required by (1): python3-pyerfa.

Sources: erfa-2.0.1.tar.xz (211.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install erfa'

build.sh:

./bootstrap.sh

./configure --prefix=/usr --libdir=/usr/lib --disable-static
make
make DESTDIR=$PKG install

Libraries: liberfa.so.

Directories: /usr/share/licenses/erfa.