libpsl-0.21.5

Introduction to libpsl

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.

Important

For the lib32 installation instructions, they require new Meson cross files from MLFS, as --libdir=/usr/lib32 has been moved to the cross files and no longer appear in the instructions. Install the new cross files so that 32-bit libraries don't get installed in /usr/lib.

libpsl Dependencies

Recommended
libidn2-2.3.8 and libunistring-1.4.1

Optional
ICU-78.2 (can be used instead of libidn2)

Installation of libpsl

Install libpsl by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=/usr --buildtype=release &&

ninja

Now, as the root user:

ninja install

lib32 Installation of libpsl

Install lib32-libpsl by running the following commands:

rm -rf * &&
meson setup --prefix=/usr            \
            --buildtype=release      \
            --cross-file=lib32       \
            .. &&

ninja

Now, as the root user:

DESTDIR=$PWD/DESTDIR ninja install    &&
cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR                        &&
ldconfig

Command Explanations

Note

Inspect meson_options.txt or meson.options for a full list of options.

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

Contents

Installed Program: psl
Installed Library: libpsl
Installed Directories: None

Short Descriptions

psl

queries the Public Suffix List

libpsl

contains a library used to access the Public Suffix List