wok view meson/receipt @ rev 24583

updated fusioninventory-agent (2.5.2 -> 2.6)
author Hans-G?nter Theisgen
date Sun Feb 27 17:43:39 2022 +0100 (2022-02-27)
parents bf28cc07ebf1
children a5f1c40a8984
line source
1 # SliTaz package receipt.
3 PACKAGE="meson"
4 VERSION="0.60.2"
5 CATEGORY="development"
6 SHORT_DESC="The Meson Build System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://mesonbuild.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mesonbuild/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 DEPENDS="ninja py3k"
15 BUILD_DEPENDS="py3k"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python3 setup.py build &&
27 python3 setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }