lua-markdown: new package
authorFrancois Perrad <fperrad@gmail.com>
Sun, 24 Sep 2017 07:59:32 +0000 (09:59 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 24 Sep 2017 15:23:56 +0000 (17:23 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: name the files lua-markdown instead of lua-mardown]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/Config.in
package/lua-markdown/Config.in [new file with mode: 0644]
package/lua-markdown/lua-markdown.hash [new file with mode: 0644]
package/lua-markdown/lua-markdown.mk [new file with mode: 0644]

index 762d3e8d2c8cbcbd47cec1222ca56d0ec1cf1f2b..6acd0c440eec957b3a5e193790ee3f359421c0c9 100644 (file)
@@ -583,6 +583,7 @@ menu "Lua libraries/modules"
        source "package/lua-ev/Config.in"
        source "package/lua-flu/Config.in"
        source "package/lua-iconv/Config.in"
+       source "package/lua-markdown/Config.in"
        source "package/lua-messagepack/Config.in"
        source "package/lua-msgpack-native/Config.in"
        source "package/lua-periphery/Config.in"
diff --git a/package/lua-markdown/Config.in b/package/lua-markdown/Config.in
new file mode 100644 (file)
index 0000000..c53dc46
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUA_MARKDOWN
+       bool "lua-markdown"
+       help
+         A pure-lua implementation of the Markdown text-to-html
+         markup system.
+
+         https://github.com/mpeterv/markdown
diff --git a/package/lua-markdown/lua-markdown.hash b/package/lua-markdown/lua-markdown.hash
new file mode 100644 (file)
index 0000000..9bfbf60
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 bed84231bb48322f8e614b4392181c52c36bc71340f9273e0c3bd72dc922bc07  markdown-0.33-1.src.rock
diff --git a/package/lua-markdown/lua-markdown.mk b/package/lua-markdown/lua-markdown.mk
new file mode 100644 (file)
index 0000000..a98f312
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# lua-markdown
+#
+################################################################################
+
+LUA_MARKDOWN_VERSION = 0.33-1
+LUA_MARKDOWN_NAME_UPSTREAM = markdown
+LUA_MARKDOWN_SUBDIR = markdown
+LUA_MARKDOWN_LICENSE = MIT
+LUA_MARKDOWN_LICENSE_FILES = $(LUA_MARKDOWN_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))