From dce00b434fa2622a9bf9b0f17a7fa075e6fca63a Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 24 Sep 2017 09:59:32 +0200 Subject: [PATCH] lua-markdown: new package Signed-off-by: Francois Perrad [Arnout: name the files lua-markdown instead of lua-mardown] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/lua-markdown/Config.in | 7 +++++++ package/lua-markdown/lua-markdown.hash | 2 ++ package/lua-markdown/lua-markdown.mk | 13 +++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 package/lua-markdown/Config.in create mode 100644 package/lua-markdown/lua-markdown.hash create mode 100644 package/lua-markdown/lua-markdown.mk diff --git a/package/Config.in b/package/Config.in index 762d3e8d2c..6acd0c440e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 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)) -- 2.30.2