wok-next rev 19673

Add cmark
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 21 03:20:35 2017 +0200 (2017-03-21)
parents abf832a4c2a4
children 431fd98ed62f
files cmark/description.txt cmark/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cmark/description.txt	Tue Mar 21 03:20:35 2017 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +`cmark` is the C reference implementation of [CommonMark], a rationalized
     1.5 +version of Markdown syntax with a [spec][the spec].
     1.6 +
     1.7 +It provides a shared library (`libcmark`) with functions for parsing CommonMark
     1.8 +documents to an abstract syntax tree (AST), manipulating the AST, and rendering
     1.9 +the document to HTML, groff man, LaTeX, CommonMark, or an XML representation of
    1.10 +the AST. It also provides a command-line program (`cmark`) for parsing and
    1.11 +rendering CommonMark documents.
    1.12 +
    1.13 +[CommonMark]: http://commonmark.org
    1.14 +[the spec]: http://spec.commonmark.org
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cmark/receipt	Tue Mar 21 03:20:35 2017 +0200
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="cmark"
     2.7 +VERSION="0.27.1"
     2.8 +CATEGORY="text"
     2.9 +SHORT_DESC="CommonMark parsing and rendering program in C"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="BSD"
    2.12 +WEB_SITE="https://github.com/github/cmark"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 +WGET_URL="$GITHUB/github/cmark/tarball/$VERSION"
    2.16 +
    2.17 +BUILD_DEPENDS="cmake py3k"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	mkdir build; cd build
    2.23 +	cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
    2.24 +	make &&
    2.25 +	make test &&
    2.26 +	make install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	cook_copy_files cmark
    2.33 +}