wok-6.x annotate meson/receipt @ rev 21885

Up reptyr (0.7.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 17:23:06 2019 +0200 (2019-10-02)
parents 5ae1a319f0fe
children e9bee322d73c
rev   line source
pascal@20490 1 # SliTaz package receipt.
pascal@20490 2
pascal@20490 3 PACKAGE="meson"
Hans-G?nter@21433 4 VERSION="0.50.1"
pascal@20490 5 CATEGORY="development"
Hans-G?nter@21433 6 SHORT_DESC="The Meson Build System."
pascal@20490 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20490 8 LICENSE="Apache"
Hans-G?nter@21433 9 WEB_SITE="https://mesonbuild.com/"
Hans-G?nter@21433 10
pascal@20490 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21433 12 WGET_URL="https://github.com/mesonbuild/$PACKAGE/releases/download/$VERSION/$TARBALL"
pascal@20490 13
pascal@20490 14 DEPENDS="ninja py3k"
pascal@20490 15 BUILD_DEPENDS="py3k"
pascal@20490 16
pascal@20490 17 # Rules to configure and make the package.
pascal@20490 18 compile_rules()
pascal@20490 19 {
pascal@20490 20 python3 setup.py build &&
pascal@20490 21 python3 setup.py install --root=$DESTDIR
pascal@20490 22 }
pascal@20490 23
pascal@20490 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20490 25 genpkg_rules()
pascal@20490 26 {
pascal@20490 27 cp -a $install/usr $fs/
pascal@20490 28 }