All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] package/turbolua: new package
Date: Sun, 10 Apr 2016 21:38:30 +0200	[thread overview]
Message-ID: <570AABB6.3060900@mind.be> (raw)
In-Reply-To: <1460103883-7608-2-git-send-email-m.niestroj@grinn-global.com>

On 04/08/16 10:24, Marcin Niestroj wrote:
> Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
> ---
>   package/Config.in              |  1 +
>   package/turbolua/Config.in     | 15 +++++++++++++++
>   package/turbolua/turbolua.hash |  2 ++
>   package/turbolua/turbolua.mk   | 27 +++++++++++++++++++++++++++
>   4 files changed, 45 insertions(+)
>   create mode 100644 package/turbolua/Config.in
>   create mode 100644 package/turbolua/turbolua.hash
>   create mode 100644 package/turbolua/turbolua.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 64822bf..3d6eaf1 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -542,6 +542,7 @@ menu "Lua libraries/modules"
>   	source "package/lzlib/Config.in"
>   	source "package/orbit/Config.in"
>   	source "package/rings/Config.in"
> +	source "package/turbolua/Config.in"
>   	source "package/wsapi/Config.in"
>   	source "package/xavante/Config.in"
>   endmenu
> diff --git a/package/turbolua/Config.in b/package/turbolua/Config.in
> new file mode 100644
> index 0000000..8753dbd
> --- /dev/null
> +++ b/package/turbolua/Config.in
> @@ -0,0 +1,15 @@
> +config BR2_PACKAGE_TURBOLUA
> +	bool "turbolua"
> +	depends on BR2_PACKAGE_LUAJIT
> +	help
> +	  Turbo.lua is a framework built for LuaJIT 2 to simplify the
> +	  task of building fast and scalable network applications. It
> +	  uses a event-driven, non-blocking, no thread design to deliver
> +	  excellent performance and minimal footprint to high-load
> +	  applications while also providing excellent support for
> +	  embedded uses. The toolkit can be used for HTTP REST API?s,
> +	  traditional dynamic web pages through templating, open
> +	  connections like WebSockets, or just as high level building
> +	  blocks for native speed network applications.
> +
> +	  http://www.turbolua.org

  This is missing:

comment "turbolua needs LuaJIT"
	depends on !BR2_PACKAGE_LUAJIT

  With that:
  Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

  Regards,
  Arnout


> diff --git a/package/turbolua/turbolua.hash b/package/turbolua/turbolua.hash
> new file mode 100644
> index 0000000..ea7898c
> --- /dev/null
> +++ b/package/turbolua/turbolua.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 4f7e3121fcc25a5867a264a6f09acf641c904668f5822b1533881f40a3b863ea turbolua-91db237a6690f4a659cbdee2ebbbbc9741d8ea4c.tar.gz
> diff --git a/package/turbolua/turbolua.mk b/package/turbolua/turbolua.mk
> new file mode 100644
> index 0000000..cf66e70
> --- /dev/null
> +++ b/package/turbolua/turbolua.mk
> @@ -0,0 +1,27 @@
> +################################################################################
> +#
> +# turbolua
> +#
> +################################################################################
> +
> +TURBOLUA_VERSION = 91db237a6690f4a659cbdee2ebbbbc9741d8ea4c
> +TURBOLUA_SITE = $(call github,kernelsauce,turbo,$(TURBOLUA_VERSION))
> +TURBOLUA_DEPENDENCIES = luajit
> +TURBOLUA_LICENSE = Apache-2.0
> +TURBOLUA_LICENSE_FILES = LICENSE
> +
> +TURBOLUA_MAKE_OPTS = \
> +	$(TARGET_CONFIGURE_OPTS) \
> +	SSL=$(if $(BR2_PACKAGE_OPENSSL),openssl,none) \
> +	LUAJIT_VERSION="$(LUAJIT_VERSION)"
> +
> +define TURBOLUA_BUILD_CMDS
> +	$(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
> +endef
> +
> +define TURBOLUA_INSTALL_TARGET_CMDS
> +	$(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
> +		PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
> +endef
> +
> +$(eval $(generic-package))
>


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2016-04-10 19:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-08  8:24 [Buildroot] [PATCH v3] package/turbolua: new package Marcin Niestroj
2016-04-08  8:24 ` Marcin Niestroj
2016-04-10 19:38   ` Arnout Vandecappelle [this message]
2016-04-11  9:43   ` [Buildroot] [PATCH v4] " Marcin Niestroj
2016-04-17 21:30     ` Thomas Petazzoni
2016-04-10 19:19 ` [Buildroot] [PATCH v3] " Arnout Vandecappelle

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=570AABB6.3060900@mind.be \
    --to=arnout@mind.be \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.