wok-next view cmark-gfm/receipt @ rev 19810
Up atm-tools, audiofile, audit, avfs, c_icap, xz.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 19 14:10:52 2017 +0300 (2017-07-19) |
parents | 558329d2603a |
children | 1eb4aacb48ed |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmark-gfm"
4 VERSION="0.27.1.76"
5 COMMIT="a81db63"
6 CATEGORY="text"
7 SHORT_DESC="Github fork of CommonMark parsing and rendering program in C"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="BSD"
10 WEB_SITE="https://github.com/github/cmark"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GITHUB/github/cmark/tarball/${COMMIT:-$VERSION}"
15 BUILD_DEPENDS="cmake py3k"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p1 -i $stuff/cmark-0.27.1.76.patch
22 mkdir build; cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
24 make &&
25 make test &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy cmark-gfm
33 }