wok-current annotate ninja/receipt @ rev 21268
updated liboobs and liboobs-dev (2.32.0 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 12 15:37:23 2019 +0100 (2019-04-12) |
parents | 5ae1a319f0fe |
children | a4828d1818dd |
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@20491 | 25 mkdir -p $fs/usr/bin $install/usr/share/doc |
pascal@20491 | 26 cp $src/doc/manual.asciidoc $install/usr/share/doc |
pascal@20490 | 27 cp -a $src/ninja $fs/usr/bin |
pascal@20490 | 28 } |