The libbytesize package is a library facilitates the common operations with sizes in bytes.
This package is known to build and work properly using an LFS-8.4 platform.
Download (HTTP): https://github.com/storaged-project/libbytesize/releases/download/1.4/libbytesize-1.4.tar.gz
Download MD5 sum: aa9bd5a04546873714da2adbaaa9f283
Download size: 404 KB
Estimated disk space required: 4.6 MB
Estimated build time: less than 0.1 SBU
GTK-Doc-1.29, Python-2.7.15, six-1.12.0 (needed for tests and python bindings), pocketlint (python module for one test), and polib (python module for one test)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libbytesize
Install libbytesize by running the following commands:
./configure --prefix=/usr && make
If you have the optional python modules installed, the regression tests can be run with: make check. If only Python 3 is installed, one test has to be fixed with sed -i 's/python/&3/' tests/lbs_py_override_unittest.py.
Now, as the root
user:
make install
--without-python2
: If Python 2 is installed, use this switch to
prevent the use of Python 2. This
may be required to run the tests, if some of the needed python
modules have been installed for Python
3 only.
Last updated on 2019-02-16 19:14:14 -0800