]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
wsapi-fcgi: new package
authorFrancois Perrad <fperrad@gmail.com>
Sat, 2 Sep 2017 16:56:42 +0000 (18:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Sep 2017 20:13:52 +0000 (22:13 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: add entry to DEVELOPERS file, add <pkg>_LICENSE = MIT]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/wsapi-fcgi/Config.in [new file with mode: 0644]
package/wsapi-fcgi/wsapi-fcgi.hash [new file with mode: 0644]
package/wsapi-fcgi/wsapi-fcgi.mk [new file with mode: 0644]

index 91da3211e5db04906c3a5b0b6b972fc98f960cda..cc9c1eecaa82228ccc56613b4685214044c97e65 100644 (file)
@@ -618,6 +618,7 @@ F:  package/qemu/
 F:     package/sdl2_mixer/
 F:     package/sdl2_net/
 F:     package/tekui/
+F:     package/wsapi-fcgi/
 F:     package/wsapi-xavante/
 F:     utils/scancpan
 
index bb94ae8e7e7cad14f2d94bc6c69c3d2e2abbf3a6..66ce30701899ec0ded8da3f7f5235f7e275bde86 100644 (file)
@@ -606,6 +606,7 @@ menu "Lua libraries/modules"
        source "package/rings/Config.in"
        source "package/turbolua/Config.in"
        source "package/wsapi/Config.in"
+       source "package/wsapi-fcgi/Config.in"
        source "package/wsapi-xavante/Config.in"
        source "package/xavante/Config.in"
 endmenu
diff --git a/package/wsapi-fcgi/Config.in b/package/wsapi-fcgi/Config.in
new file mode 100644 (file)
index 0000000..6349038
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_WSAPI_FCGI
+       bool "wsapi-fcgi"
+       depends on BR2_USE_MMU # fork()
+       select BR2_PACKAGE_LIBFCGI
+       # Runtime dependency only
+       select BR2_PACKAGE_WSAPI
+       help
+         WSAPI is an API that abstracts the web server from Lua web
+         applications. This is the rock that contains the FCGI module lfcgi.
+
+         http://keplerproject.github.com/wsapi/
diff --git a/package/wsapi-fcgi/wsapi-fcgi.hash b/package/wsapi-fcgi/wsapi-fcgi.hash
new file mode 100644 (file)
index 0000000..f82ce9c
--- /dev/null
@@ -0,0 +1,2 @@
+# locally computed hash
+sha256 73dc200889bc185953cd3a7c5350c998c090f901fcd10771273b7a63a3ffcdcf  wsapi-fcgi-1.6.1-1.src.rock
diff --git a/package/wsapi-fcgi/wsapi-fcgi.mk b/package/wsapi-fcgi/wsapi-fcgi.mk
new file mode 100644 (file)
index 0000000..fe4a424
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# wsapi-fcgi
+#
+################################################################################
+
+WSAPI_FCGI_VERSION_MAJOR = 1.6.1
+WSAPI_FCGI_VERSION = $(WSAPI_FCGI_VERSION_MAJOR)-1
+WSAPI_FCGI_SUBDIR = wsapi-$(WSAPI_FCGI_VERSION_MAJOR)
+WSAPI_FCGI_DEPENDENCIES = libfcgi
+WSAPI_FCGI_LICENSE = MIT
+
+$(eval $(luarocks-package))