wok-next view cmark/receipt @ rev 19673

Add cmark
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 21 03:20:35 2017 +0200 (2017-03-21)
parents
children 431fd98ed62f
line source
1 # SliTaz package receipt.
3 PACKAGE="cmark"
4 VERSION="0.27.1"
5 CATEGORY="text"
6 SHORT_DESC="CommonMark parsing and rendering program in C"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/github/cmark"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GITHUB/github/cmark/tarball/$VERSION"
14 BUILD_DEPENDS="cmake py3k"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir build; cd build
20 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
21 make &&
22 make test &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cook_copy_files cmark
30 }