wok-next view lua-markdown/receipt @ rev 21151
Add/update some Lua packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 00:34:43 2019 +0200 (2019-01-31) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lua-markdown"
4 VERSION="0.33"
5 CATEGORY="system-tools"
6 SHORT_DESC="Markdown text-to-html markup system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/mpeterv/markdown"
10 HOST_ARCH="any"
11 REPOLOGY="lua:markdown"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/mpeterv/markdown/archive/$VERSION.tar.gz"
15 TARBALL_SHA1="692030bee6553756bd82c527b23446c05c4263b3"
17 BUILD_DEPENDS="lua53" # for test
18 DEPENDS="lua" # virtual "lua" package
20 compile_rules() {
21 install -Dm644 markdown.lua $install/usr/share/lua/common/markdown.lua
23 cook_pick_docs README.md
24 }
26 testsuite() {
27 action 'Testing...'
28 lua53 ./markdown-tests.lua
29 status
30 }