wok-next view cmark-gfm/receipt @ rev 20194

Up irrlicht (1.8.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 11:27:16 2017 +0100 (2017-11-03)
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 }