wok-current view libpsl/receipt @ rev 25698
Fix ntfs-3g receipt
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Apr 16 19:01:01 2024 +0000 (7 months ago) |
parents | |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 mkdir build && cd build
22 meson .. \
23 --buildtype=release \
24 --prefix=/usr \
25 --libdir=/usr/lib \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 --sysconfdir=/etc
31 ninja
32 DESTDIR=$install ninja install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }