wok-current diff libpsl/receipt @ rev 25712
Use symlink for libxvmc-mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 10 20:42:21 2024 +0000 (3 weeks ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libpsl/receipt Mon Jun 10 20:42:21 2024 +0000 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libpsl" 1.7 +VERSION="0.21.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="C library for the Public Suffix List" 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://rockdaboot.github.io/libpsl/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/rockdaboot/libpsl/releases/download/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="gettext libidn-dev libunistring-dev meson" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + 1.24 + mkdir build && cd build 1.25 + meson .. \ 1.26 + --buildtype=release \ 1.27 + --prefix=/usr \ 1.28 + --libdir=/usr/lib \ 1.29 + --infodir=/usr/share/info \ 1.30 + --mandir=/usr/share/man \ 1.31 + --localstatedir=/var \ 1.32 + --sysconfdir=/etc 1.33 + 1.34 + ninja 1.35 + DESTDIR=$install ninja install 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p $fs/usr/bin $fs/usr/lib 1.42 + cp -a $install/usr/bin $fs/usr 1.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 +}