aboutsummaryrefslogtreecommitdiff
path: root/package/lua-markdown
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2017-09-24 09:59:32 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-24 17:23:56 +0200
commitdce00b434fa2622a9bf9b0f17a7fa075e6fca63a (patch)
treed8a6b58a094b08af5da779e34964894589d78df6 /package/lua-markdown
parentfa902fc508961e50c71852a5ca8865a2eb4f1e09 (diff)
downloadbuildroot-dce00b434fa2622a9bf9b0f17a7fa075e6fca63a.tar.gz
buildroot-dce00b434fa2622a9bf9b0f17a7fa075e6fca63a.tar.bz2
lua-markdown: new package
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>
Diffstat (limited to 'package/lua-markdown')
-rw-r--r--package/lua-markdown/Config.in7
-rw-r--r--package/lua-markdown/lua-markdown.hash2
-rw-r--r--package/lua-markdown/lua-markdown.mk13
3 files changed, 22 insertions, 0 deletions
diff --git a/package/lua-markdown/Config.in b/package/lua-markdown/Config.in
new file mode 100644
index 0000000000..c53dc4606e
--- /dev/null
+++ b/package/lua-markdown/Config.in
@@ -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
index 0000000000..9bfbf6007f
--- /dev/null
+++ b/package/lua-markdown/lua-markdown.hash
@@ -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
index 0000000000..a98f3125ac
--- /dev/null
+++ b/package/lua-markdown/lua-markdown.mk
@@ -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))