lua-lpeg-patterns: new package
authorFrancois Perrad <fperrad@gmail.com>
Wed, 11 Oct 2017 13:19:55 +0000 (15:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 11 Oct 2017 21:48:47 +0000 (23:48 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/lua-lpeg-patterns/Config.in [new file with mode: 0644]
package/lua-lpeg-patterns/lua-lpeg-patterns.hash [new file with mode: 0644]
package/lua-lpeg-patterns/lua-lpeg-patterns.mk [new file with mode: 0644]

index 6f8564334dbad0528635b04f209827522f7c26c9..2b053519a7c393703b74c63aca0ab8ea9e66f78e 100644 (file)
@@ -589,6 +589,7 @@ menu "Lua libraries/modules"
        source "package/lua-fifo/Config.in"
        source "package/lua-flu/Config.in"
        source "package/lua-iconv/Config.in"
+       source "package/lua-lpeg-patterns/Config.in"
        source "package/lua-markdown/Config.in"
        source "package/lua-messagepack/Config.in"
        source "package/lua-msgpack-native/Config.in"
diff --git a/package/lua-lpeg-patterns/Config.in b/package/lua-lpeg-patterns/Config.in
new file mode 100644 (file)
index 0000000..9c701d3
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LUA_LPEG_PATTERNS
+       bool "lua-lpeg-patterns"
+       # These are runtime dependencies
+       select BR2_PACKAGE_LPEG
+       help
+         a collection of LPEG patterns.
+
+         https://github.com/daurnimator/lpeg_patterns
diff --git a/package/lua-lpeg-patterns/lua-lpeg-patterns.hash b/package/lua-lpeg-patterns/lua-lpeg-patterns.hash
new file mode 100644 (file)
index 0000000..f779466
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 82c8eddee52069e5ae821b68cb9e295ab5767a47d07545a4ca36ac1e81066086  lpeg_patterns-0.4-0.src.rock
diff --git a/package/lua-lpeg-patterns/lua-lpeg-patterns.mk b/package/lua-lpeg-patterns/lua-lpeg-patterns.mk
new file mode 100644 (file)
index 0000000..8f40c99
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# lua-lpeg-patterns
+#
+################################################################################
+
+LUA_LPEG_PATTERNS_VERSION = 0.4-0
+LUA_LPEG_PATTERNS_NAME_UPSTREAM = lpeg_patterns
+LUA_LPEG_PATTERNS_ROCKSPEC = $(LUA_LPEG_PATTERNS_NAME_UPSTREAM)-$(LUA_LPEG_PATTERNS_VERSION).rockspec
+LUA_LPEG_PATTERNS_SOURCE = $(LUA_LPEG_PATTERNS_NAME_UPSTREAM)-$(LUA_LPEG_PATTERNS_VERSION).src.rock
+LUA_LPEG_PATTERNS_LICENSE = MIT
+LUA_LPEG_PATTERNS_LICENSE_FILES = $(LUA_LPEG_PATTERNS_SUBDIR)/LICENSE.md
+
+$(eval $(luarocks-package))