wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="ninja"
4 VERSION="1.8.2"
5 CATEGORY="development"
6 SHORT_DESC="A small build system with a focus on speed"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://ninja-build.org/"
11 WGET_URL="https://github.com/ninja-build/ninja/archive/v$VERSION.tar.gz"
13 DEPENDS="gcc-lib-base"
14 BUILD_DEPENDS="python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure.py --bootstrap
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/ninja $fs/usr/bin
27 }