From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 01/10] package/waf: new host package
Date: Sun, 30 Oct 2016 17:21:49 +0100 [thread overview]
Message-ID: <67dd596b-9a70-e685-f514-36d27ece63b0@gmail.com> (raw)
In-Reply-To: <866827010ad3057640f15eb124ed58ce1b7e96c6.1477843328.git.yann.morin.1998@free.fr>
Hi Yann,
Le 30/10/2016 ? 17:02, Yann E. MORIN a ?crit :
> host-waf will be used by waf-based packages that do not include it in
> their release tarballs, like mpv.
>
> mpv is currently the only case we have, but with the upcoming
> waf-package infra, having host-waf available just makes the infra
> complete from the onset.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Best regards,
Romain
> ---
> package/waf/waf.hash | 3 +++
> package/waf/waf.mk | 28 ++++++++++++++++++++++++++++
> 2 files changed, 31 insertions(+)
> create mode 100644 package/waf/waf.hash
> create mode 100644 package/waf/waf.mk
>
> diff --git a/package/waf/waf.hash b/package/waf/waf.hash
> new file mode 100644
> index 0000000..9d610b2
> --- /dev/null
> +++ b/package/waf/waf.hash
> @@ -0,0 +1,3 @@
> +# Locally computed
> +sha1 33d170c738ed8c92dda2945b445272972f558244 waf-1.9.5
> +sha256 101f14e0f47a6410c00b8feda094948516cd3989491c56eb8268907fcd164909 waf-1.9.5
> diff --git a/package/waf/waf.mk b/package/waf/waf.mk
> new file mode 100644
> index 0000000..cd0c67e
> --- /dev/null
> +++ b/package/waf/waf.mk
> @@ -0,0 +1,28 @@
> +################################################################################
> +#
> +# waf
> +#
> +################################################################################
> +
> +WAF_VERSION = 1.9.5
> +WAF_SOURCE = waf-$(WAF_VERSION)
> +WAF_SITE = https://waf.io/
> +
> +# Waf is a python script, compatible with any python >= 2.6, but some
> +# packages have wafscripts not compatible with python3. So always use
> +# python2.
> +#
> +# We don't really need host-python to install host-waf, but having this
> +# dependency here will hide it from packages themselves
> +HOST_WAF_DEPENDENCIES = host-python
> +
> +# Not really needed, but here for consistency with other packages.
> +define HOST_WAF_EXTRACT_CMDS
> + $(INSTALL) -D -m 0755 $(DL_DIR)/waf-$(WAF_VERSION) $(@D)/waf
> +endef
> +
> +define HOST_WAF_INSTALL_CMDS
> + $(INSTALL) -D -m 0755 $(@D)/waf $(HOST_DIR)/usr/bin/waf
> +endef
> +
> +$(eval $(host-generic-package))
>
next prev parent reply other threads:[~2016-10-30 16:21 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 16:02 [Buildroot] [PATCH 00/10] core: add waf-package infra, convert packages Yann E. MORIN
2016-10-30 16:02 ` [Buildroot] [PATCH 01/10] package/waf: new host package Yann E. MORIN
2016-10-30 16:21 ` Romain Naour [this message]
2016-12-02 22:55 ` Thomas Petazzoni
2016-10-30 16:02 ` [Buildroot] [PATCH 02/10] core: add waf-package infra Yann E. MORIN
2016-10-30 16:30 ` Romain Naour
2016-11-16 23:02 ` Thomas Petazzoni
2016-11-17 20:44 ` Yann E. MORIN
2016-11-17 23:54 ` Arnout Vandecappelle
2016-11-17 23:52 ` Arnout Vandecappelle
2016-11-18 8:45 ` Thomas Petazzoni
2016-11-25 7:16 ` Lionel Orry
2016-12-02 22:56 ` Thomas Petazzoni
2016-10-30 16:02 ` [Buildroot] [PATCH 03/10] docs/manual: document the " Yann E. MORIN
2016-10-30 16:31 ` Romain Naour
2016-11-16 23:04 ` Thomas Petazzoni
2016-11-17 20:47 ` Yann E. MORIN
2016-11-18 8:46 ` Thomas Petazzoni
2016-12-02 22:57 ` Thomas Petazzoni
2016-10-30 16:02 ` [Buildroot] [PATCH 04/10] developpers: add myself as pkg-waf devel Yann E. MORIN
2016-10-30 16:31 ` Romain Naour
2016-10-30 16:02 ` [Buildroot] [PATCH 05/10] package/glmark2: make it a waf-package Yann E. MORIN
2016-10-30 16:33 ` Romain Naour
2016-10-30 16:02 ` [Buildroot] [PATCH 06/10] package/gst1-imx: " Yann E. MORIN
2016-10-30 16:35 ` Romain Naour
2016-11-01 10:52 ` Gary Bisson
2016-10-30 16:02 ` [Buildroot] [PATCH 07/10] package/jack2: " Yann E. MORIN
2016-10-30 16:38 ` Romain Naour
2016-10-30 16:02 ` [Buildroot] [PATCH 08/10] package/libimxvpuapi: " Yann E. MORIN
2016-10-30 16:39 ` Romain Naour
2016-11-01 10:52 ` Gary Bisson
2016-10-30 16:02 ` [Buildroot] [PATCH 09/10] package/mpv: " Yann E. MORIN
2016-11-02 22:42 ` Romain Naour
2016-12-02 22:58 ` Thomas Petazzoni
2016-10-30 16:02 ` [Buildroot] [PATCH 10/10] package/norm: " Yann E. MORIN
2016-10-30 16:40 ` Romain Naour
2016-10-30 16:12 ` [Buildroot] [PATCH 00/10] core: add waf-package infra, convert packages Romain Naour
2016-12-02 22:55 ` Thomas Petazzoni
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=67dd596b-9a70-e685-f514-36d27ece63b0@gmail.com \
--to=romain.naour@gmail.com \
--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