wok annotate ninja/receipt @ rev 21996

linux: add ath10k wireless driver
author Richard Dunbar <mojo@slitaz.org>
date Wed Oct 16 21:56:55 2019 -0400 (2019-10-16)
parents fe90a00917af
children 8aef0091a430
rev   line source
pascal@20490 1 # SliTaz package receipt.
pascal@20490 2
pascal@20490 3 PACKAGE="ninja"
Hans-G?nter@21545 4 VERSION="1.9.0"
pascal@20490 5 CATEGORY="development"
Hans-G?nter@21545 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"
Hans-G?nter@21545 9 WEB_SITE="https://ninja-build.org/"
Hans-G?nter@21545 10
pascal@20490 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21545 12 WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@20490 13
pascal@20490 14 DEPENDS="gcc-lib-base"
pascal@20490 15 BUILD_DEPENDS="python"
pascal@20490 16
pascal@20490 17 # Rules to configure and make the package.
pascal@20490 18 compile_rules()
pascal@20490 19 {
pascal@20490 20 ./configure.py --bootstrap
pascal@20490 21 }
pascal@20490 22
pascal@20490 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20490 24 genpkg_rules()
pascal@20490 25 {
Hans-G?nter@21545 26 mkdir -p $fs/usr/bin
Hans-G?nter@21545 27 mkdir -p $install/usr/share/doc
Hans-G?nter@21545 28
Hans-G?nter@21545 29 cp $src/doc/manual.asciidoc $install/usr/share/doc
Hans-G?nter@21545 30 cp -a $src/ninja $fs/usr/bin
pascal@20490 31 }