The libqalculate package contains a library that provides functions for a multi-purpose calculator.
This package is known to build and work properly using an LFS 12.1 platform.
Download (HTTP): https://github.com/Qalculate/libqalculate/releases/download/v4.9.0/libqalculate-4.9.0.tar.gz
Download MD5 sum: c129774b53e2bf1f0488214c99c7171a
Download size: 2.5 MB
Estimated disk space required: 139 MB (with tests)
Estimated build time: 0.8 SBU (With tests; both using parallelism=4)
cURL-8.6.0, ICU-74.2, and libxml2-2.12.5
Install libqalculate by running the following commands:
./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/libqalculate-4.9.0 &&
make
        To test the results, issue: make check.
          Now, as the root user:
        
make install
          The libtool archive file from this package is referring to the
          libraries from ICU-74.2. Such a reference may cause packages
          depending on this package to be unnecessary linked against the ICU
          libraries and increase the burden to rebuild packages if ICU is
          updated to a new major version. As we've explained in Libtool archive (.la)
          files, these libtool archive files are unneeded anyway. So as
          the root user, remove the libtool
          archive file now:
        
rm -v /usr/lib/libqalculate.la
          --disable-static: This
          switch prevents installation of static versions of the libraries.