The libqrencode package provides a fast and compact library for encoding data in a QR Code symbol, a 2D symbology that can be scanned by handheld terminals such as a mobile phone with a CCD sensor.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/fukuchi/libqrencode/archive/v4.1.1/libqrencode-4.1.1.tar.gz
Download SHA256 Sum: 5385bc1b8c2f20f3b91d258bf8ccc8cf62023935df2d2676b5b67049f31a049c
Download MD5 sum: 486f879d1638d3fb58a4a5d45a88c600
Download size: 1,220.7 KB
Estimated disk space required: 6,431.5 KB
Estimated build time: less than 0.1 SBU, add 0.1 SBU for tests
"doxygen" for generating documentation, and sdl2-compat-2.32.60 for tests
Prepare libqrencode by running the following commands:
sh autogen.sh ./configure --prefix=/usr
make
The tests must be run after installing the package.
Now Install the package, as the root user:
make install
![[Note]](../images/note.png)
To test the results, if you have passed the --with-tests
option to configure, issue:
make check
--with-tests: This option allows building the test
programs. It requires "sdl2".
--without-tools: This option prevents building the
qrencode executable, removing the need for
"libpng".