Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [Patch v3 1/3] ninja: new package
Date: Sun, 3 Jul 2016 21:31:13 +0200	[thread overview]
Message-ID: <20160703193113.GB3482@free.fr> (raw)
In-Reply-To: <1466796149-25218-2-git-send-email-eric.le.bihan.dev@free.fr>

?ric, All,

On 2016-06-24 21:22 +0200, Eric Le Bihan spake thusly:
> This new package provides the host variant of Ninja, a small build
> system with a focus on speed.
> 
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>

Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/ninja/ninja.hash |  2 ++
>  package/ninja/ninja.mk   | 22 ++++++++++++++++++++++
>  2 files changed, 24 insertions(+)
>  create mode 100644 package/ninja/ninja.hash
>  create mode 100644 package/ninja/ninja.mk
> 
> diff --git a/package/ninja/ninja.hash b/package/ninja/ninja.hash
> new file mode 100644
> index 0000000..47ec822
> --- /dev/null
> +++ b/package/ninja/ninja.hash
> @@ -0,0 +1,2 @@
> +# Locally generated
> +sha256 51581de53cf4705b89eb6b14a85baa73288ad08bff256e7d30d529155813be19  ninja-v1.7.1.tar.gz
> diff --git a/package/ninja/ninja.mk b/package/ninja/ninja.mk
> new file mode 100644
> index 0000000..f8cada4
> --- /dev/null
> +++ b/package/ninja/ninja.mk
> @@ -0,0 +1,22 @@
> +################################################################################
> +#
> +# ninja
> +#
> +################################################################################
> +
> +NINJA_VERSION = v1.7.1
> +NINJA_SITE = $(call github,ninja-build,ninja,$(NINJA_VERSION))
> +NINJA_LICENSE = Apache-2.0
> +NINJA_LICENSE_FILES = COPYING
> +
> +HOST_NINJA_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
> +
> +define HOST_NINJA_BUILD_CMDS
> +	(cd $(@D); ./configure.py --bootstrap)
> +endef
> +
> +define HOST_NINJA_INSTALL_CMDS
> +	$(INSTALL) -m 0755 $(@D)/ninja $(HOST_DIR)/usr/bin/ninja
> +endef
> +
> +$(eval $(host-generic-package))
> -- 
> 2.4.11
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2016-07-03 19:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 19:22 [Buildroot] [Patch v3 0/3] Ninja, Meson: new build systems Eric Le Bihan
2016-06-24 19:22 ` [Buildroot] [Patch v3 1/3] ninja: new package Eric Le Bihan
2016-07-03 19:31   ` Yann E. MORIN [this message]
2016-07-03 20:27   ` Peter Korsgaard
2018-03-26 21:48   ` Thomas Petazzoni
2016-06-24 19:22 ` [Buildroot] [Patch v3 2/3] python-meson: " Eric Le Bihan
2016-06-26  3:53   ` Baruch Siach
2016-07-03 20:24   ` Yann E. MORIN
2016-07-09 13:06     ` Eric Le Bihan
2016-06-24 19:22 ` [Buildroot] [Patch v3 3/3] docs/manual: document meson-based packages Eric Le Bihan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160703193113.GB3482@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox