wok-current view meson/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (12 days ago) |
parents | 8d53169054d1 |
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 HOST_ARCH="i486 x86_64"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
22 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python3 setup.py build &&
29 python3 setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }