wok-current view meson054/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="meson054"
4 VERSION="0.54.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 SOURCE="meson"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mesonbuild/$SOURCE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="ninja python3-setuptools"
16 BUILD_DEPENDS="python3-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
21 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python3 setup.py build &&
28 python3 setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }