wok-current annotate meson/receipt @ rev 25640

Patch xorg-server (CVE-2023-6816, CVE-2024-0229, CVE-2024-0408, CVE-2024-0409, CVE-2024-21885, CVE-2024-21886)
author Stanislas Leduc <shann@slitaz.org>
date Tue Jan 16 20:32:03 2024 +0000 (12 months ago)
parents a5f1c40a8984
children 8d53169054d1
rev   line source
pascal@20490 1 # SliTaz package receipt.
pascal@20490 2
pascal@20490 3 PACKAGE="meson"
Hans-G?nter@25388 4 VERSION="0.62.2"
pascal@20490 5 CATEGORY="development"
Hans-G?nter@21433 6 SHORT_DESC="The Meson Build System."
pascal@20490 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20490 8 LICENSE="Apache"
Hans-G?nter@21433 9 WEB_SITE="https://mesonbuild.com/"
Hans-G?nter@21433 10
pascal@20490 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21433 12 WGET_URL="https://github.com/mesonbuild/$PACKAGE/releases/download/$VERSION/$TARBALL"
pascal@20490 13
shann@25629 14 DEPENDS="ninja python3-setuptools"
shann@25629 15 BUILD_DEPENDS="python3-setuptools"
pascal@20490 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24079 19 wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
pascal@24079 20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@20490 23 # Rules to configure and make the package.
pascal@20490 24 compile_rules()
pascal@20490 25 {
pascal@20490 26 python3 setup.py build &&
pascal@20490 27 python3 setup.py install --root=$DESTDIR
pascal@20490 28 }
pascal@20490 29
pascal@20490 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20490 31 genpkg_rules()
pascal@20490 32 {
Hans-G?nter@23175 33 cp -a $install/usr $fs
pascal@20490 34 }