wok-current view libpsl/receipt @ rev 25731

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:28:03 2024 +0000 (2 months ago)
parents 3ad63c8fc2f9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libpsl"
4 VERSION="0.21.2"
5 CATEGORY="network"
6 SHORT_DESC="C library for the Public Suffix List"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rockdaboot.github.io/libpsl/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/rockdaboot/libpsl/releases/download/$VERSION/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="gettext libidn-dev libunistring-dev meson"
16 HOST_ARCH="i486 x86_64"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 mkdir build && cd build
24 meson .. \
25 --buildtype=release \
26 --prefix=/usr \
27 --libdir=/usr/lib \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --localstatedir=/var \
31 --sysconfdir=/etc
33 ninja
34 DESTDIR=$install ninja install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }