From patchwork Mon Oct 22 06:35:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 1963 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) by web02.i.ipfire.org (Postfix) with ESMTP id CD51B61E88 for ; Sun, 21 Oct 2018 21:35:49 +0200 (CEST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 891BC216DA18; Sun, 21 Oct 2018 20:35:49 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1540150549; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references:list-id:list-unsubscribe:list-subscribe:list-post; bh=GkAREvqs7CCfcsiLOCTXe82Y5UaFsDMwRgE4x1BBORs=; b=fdZe3/Fb2EuKlIgpeIm365aOrgXXprOJVd9B+RKEJUq+2qv6sR60CUdqkGWr51wS27hwO+ Q7pUY1Dl/btfDrTQNzMYPe9T2RVlWU+KyEn/I1ZL/uU6IV5ffam9Y4+k8pB4Ub5k8cf5/a dxZteYtW3eH/GhYM5nbhAzwaC6blEG96WuFScvadiZpOvOfmnCxEOm2/VJJlNcw+JlQEjv 5uK+8k5lU2VLuy289KWEKtP8NpPuku8kwaJo0b9GaCSkptqANT001ixACjmPC+xkhbQbUj Po7zVFyRFzrY6Cn85vEc2h/2w0b+ECa9DC3HqCMP8avonbuSNpqk9qJsN4icLg== Received: from tuxedo.stevee (078132056097.public.t-mobile.at [78.132.56.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 64B8E21A13CF; Sun, 21 Oct 2018 20:35:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1540150539; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=GkAREvqs7CCfcsiLOCTXe82Y5UaFsDMwRgE4x1BBORs=; b=qP1dVXZAnruH+xt3KOL+mj5GzLvzWJx4va5617J4o7QUr8szaozILZyPZV4XgqI+zHFkf2 02TtGSB2ve/o1x3ySp3k7Frqa7KQmsJRAldylP+fZXqxstFErvThTxn+5fyhaDCTq0XLbe fwesFEeJeYTCtqkFjUfxEH9p9xATEvk5jvN4scC8T3cJLGYjBVIvdbEWNDPrbpBdWrb65x SOPGu1HRHYC5z+m3bzxZn5igJ0uLuKzi26JYewv2qZqAhxMsRahcjb1HGaQpsul5somPv9 KCx9df89Wp4ieu7Rn67iVysOPKILrCg6mE3S8zlVxgJqLMiL3QaLURKL/n+f5Q== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 3/5] ninja: New package Date: Sun, 21 Oct 2018 21:35:32 +0200 Message-Id: <20181021193534.31718-3-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181021193534.31718-1-stefan.schantl@ipfire.org> References: <20181021193534.31718-1-stefan.schantl@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=stevee smtp.mailfrom=stefan.schantl@ipfire.org X-Spamd-Result: default: False [-6.10 / 11.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLY(-4.00)[]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8412, ipnet:78.132.0.0/17, country:AT]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%] X-Spam-Status: No, score=-6.10 X-Rspamd-Server: mail01.i.ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" --- ninja/ninja.nm | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 ninja/ninja.nm diff --git a/ninja/ninja.nm b/ninja/ninja.nm new file mode 100644 index 000000000..e0793d8a0 --- /dev/null +++ b/ninja/ninja.nm @@ -0,0 +1,69 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = ninja +version = 1.8.2 +release = 1 + +groups = Applications/System +url = http://martine.github.com/ninja/ +license = ASL 2.0 +summary = A small build system with a focus on speed + +description + Ninja is a small build system with a focus on speed. It differs from other + build systems in two major respects: it is designed to have its input files + generated by a higher-level build system, and it is designed to run builds as + fast as possible. +end + +source_dl = https://github.com/martine/ninja/archive/v%{version}/ + +build + requires + asciidoc + python3-devel + end + + build + # Configure and bootstrap the build environment. + %{python3} configure.py --bootstrap --verbose + + # Build ninja. + ./ninja -v all + + # Build manual. + ./ninja -v manual + end + + check + # Run testsuite - filter SubprocessTest + ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots + end + + install + # Install ninja. + install -Dpm0755 ninja -t %{BUILDROOT}%{bindir}/ + + # Create compatibliy symlink. + ln -s ninja %{BUILDROOT}%{bindir}/ninja-build + + # Install bash-comletion. + install -Dpm0644 misc/bash-completion %{BUILDROOT}%{datadir}/bash-completion/completions/ninja + + # Install ninja syntax highlighting for vim. + install -Dpm0644 misc/ninja.vim %{BUILDROOT}%{datadir}/vim/vimfiles/syntax/ninja.vim + end +end + +packages + package %{name} + provides += ninja-build + end + + package %{name}-debuginfo + template DEBUGINFO + end +end