SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libpsl"

# SliTaz package receipt.

PACKAGE="libpsl"
VERSION="0.21.2"
CATEGORY="network"
SHORT_DESC="C library for the Public Suffix List"
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://rockdaboot.github.io/libpsl/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/rockdaboot/libpsl/releases/download/$VERSION/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="gettext libidn-dev libunistring-dev meson"

# Rules to configure and make the package.
compile_rules()
{
        cd $src

        mkdir build && cd build
        meson .. \
        --buildtype=release \
        --prefix=/usr \
        --libdir=/usr/lib \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --localstatedir=/var \
        --sysconfdir=/etc

        ninja
        DESTDIR=$install ninja install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{                                                   
    mkdir -p $fs/usr/bin $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
        cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)