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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f10e4fa916b0
children e7e7475e84c9
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmark-gfm"
4 VERSION="0.28.3.gfm.17"
5 CATEGORY="text"
6 SHORT_DESC="Github fork of CommonMark parsing and rendering program in C"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/github/cmark-gfm"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/github/cmark/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake python3"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 .. &&
23 make &&
24 make test &&
25 make install || return 1
27 cd $src
28 cook_pick_docs README.md benchmarks.md changelog.txt why-cmark-and-not-x.md
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 *-dev) copy @dev;;
34 *) copy @std;;
35 esac
36 }