libsamplerate is a sample rate converter for audio.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamplerate-0.2.2.tar.xz
Download MD5 sum: 97c010fc25156c33cddc272c1935afab
Download size: 3.2 MB
Estimated disk space required: 15 MB (add 2 MB for tests)
Estimated build time: less than 0.1 SBU (add 0.3 SBU for tests)
alsa-lib-1.2.8, libsndfile-1.2.0, and fftw-3.3.10 (for tests)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libsamplerate
Install libsamplerate by running the following commands:
./configure --prefix=/usr \ --disable-static \ --docdir=/usr/share/doc/libsamplerate-0.2.2 && make
To test the results, issue: make check.
Now, as the root
user:
make install
--disable-static
: This switch prevents
installation of static versions of the libraries.