wok-6.x annotate ninja/receipt @ rev 20490

Add meson & ninja
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 27 18:38:19 2018 +0200 (2018-10-27)
parents
children fe90a00917af
rev   line source
pascal@20490 1 # SliTaz package receipt.
pascal@20490 2
pascal@20490 3 PACKAGE="ninja"
pascal@20490 4 VERSION="1.8.2"
pascal@20490 5 CATEGORY="development"
pascal@20490 6 SHORT_DESC="A small build system with a focus on speed"
pascal@20490 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20490 8 LICENSE="Apache"
pascal@20490 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20490 10 WEB_SITE="https://ninja-build.org/"
pascal@20490 11 WGET_URL="https://github.com/ninja-build/ninja/archive/v$VERSION.tar.gz"
pascal@20490 12
pascal@20490 13 DEPENDS="gcc-lib-base"
pascal@20490 14 BUILD_DEPENDS="python"
pascal@20490 15
pascal@20490 16 # Rules to configure and make the package.
pascal@20490 17 compile_rules()
pascal@20490 18 {
pascal@20490 19 ./configure.py --bootstrap
pascal@20490 20 }
pascal@20490 21
pascal@20490 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20490 23 genpkg_rules()
pascal@20490 24 {
pascal@20490 25 mkdir -p $fs/usr/bin
pascal@20490 26 cp -a $src/ninja $fs/usr/bin
pascal@20490 27 }