wok-6.x view meson/receipt @ rev 25563
New toolchain GCC 4.9.2, Glibc 2.19, Binutils 2.37
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri May 05 18:12:18 2023 +0200 (18 months ago) |
parents | 5c73e095788a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="meson"
4 VERSION="0.62.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 }