wok-current view meson/receipt @ rev 25723

Up smplayer (thanks sonicrockett for first build and test pkg)
author Stanislas Leduc <shann@slitaz.org>
date Mon Jun 24 07:43:55 2024 +0000 (4 days ago)
parents a23978bfa665
children
line source
1 # SliTaz package receipt.
3 PACKAGE="meson"
4 VERSION="0.63.3"
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 python3-setuptools"
15 BUILD_DEPENDS="python3 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 }