The libpsl package provides a library for accessing and resolving information from the Public Suffix List (PSL). The PSL is a set of domain names beyond the standard suffixes, such as .com.
Install libpsl by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
First clean the directory by running the following command:
rm -rf *
Install lib32-libpsl by running the following commands:
CC="gcc -m32" CXX="g++ -m32" \ PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ meson setup .. \ --prefix=/usr \ --libdir=/usr/lib32 \ --buildtype=release && ninja
Now, as the root
user:
DESTDIR=$PWD/DESTDIR ninja install && cp -vr DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.