wok view ninja/receipt @ rev 20491

libzim-dev: add libzim.pc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 27 23:06:17 2018 +0200 (2018-10-27)
parents 5ae1a319f0fe
children a4828d1818dd
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 $install/usr/share/doc
26 cp $src/doc/manual.asciidoc $install/usr/share/doc
27 cp -a $src/ninja $fs/usr/bin
28 }