wok-undigest diff ninja/receipt @ rev 1257

recook binutils
author Hans-G?nter Theisgen
date Sat Aug 13 10:55:58 2022 +0100 (23 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ninja/receipt	Sat Aug 13 10:55:58 2022 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ninja"
     1.7 +VERSION="1.11.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A small build system with a focus on speed."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="Apache"
    1.12 +WEB_SITE="https://ninja-build.org/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +DEPENDS="gcc-lib-base"
    1.18 +BUILD_DEPENDS="python"
    1.19 +
    1.20 +current_version()
    1.21 +{
    1.22 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.23 +	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.24 +}
    1.25 +
    1.26 +# Rules to configure and make the package.
    1.27 +compile_rules()
    1.28 +{
    1.29 +	./configure.py --bootstrap
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/bin
    1.36 +	mkdir -p $install/usr/share/doc
    1.37 +
    1.38 +	cp $src/doc/manual.asciidoc	$install/usr/share/doc
    1.39 +	cp -a $src/ninja		$fs/usr/bin
    1.40 +}