wok-current view meson/receipt @ rev 25656
testdisk: added description
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 14 15:21:30 2024 +0100 (9 months ago) |
parents | a5f1c40a8984 |
children | 8d53169054d1 |
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 python3-setuptools"
15 BUILD_DEPENDS="python3-setuptools"
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 }