# SliTaz package receipt. PACKAGE="ninja" VERSION="1.10.2" CATEGORY="development" SHORT_DESC="A small build system with a focus on speed." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache" WEB_SITE="https://ninja-build.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="gcc-lib-base" BUILD_DEPENDS="python" # Rules to configure and make the package. compile_rules() { ./configure.py --bootstrap } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin mkdir -p $install/usr/share/doc cp $src/doc/manual.asciidoc $install/usr/share/doc cp -a $src/ninja $fs/usr/bin }