wok view meson/receipt @ rev 24156
updated cmake (3.15.5 -> 3.22.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 08 09:15:20 2021 +0100 (2021-12-08) |
parents | 5ea0ce1cecc0 |
children | 5c73e095788a |
line source
1 # SliTaz package receipt.
3 PACKAGE="meson"
4 VERSION="0.53.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 }