wok-next annotate cmark-gfm/receipt @ rev 21110
subversion: update dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 11 04:06:27 2019 +0200 (2019-01-11) |
parents | d5aab818505e |
children | 81c22da6eb2a |
rev | line source |
---|---|
al@21002 | 1 # SliTaz package receipt v2. |
al@19679 | 2 |
al@19679 | 3 PACKAGE="cmark-gfm" |
al@21051 | 4 VERSION="0.28.3.gfm.19" |
al@19679 | 5 CATEGORY="text" |
al@19679 | 6 SHORT_DESC="Github fork of CommonMark parsing and rendering program in C" |
al@19679 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19679 | 8 LICENSE="BSD" |
al@21020 | 9 WEB_SITE="https://github.com/github/cmark-gfm" |
al@19679 | 10 |
al@19679 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21002 | 12 WGET_URL="https://github.com/github/cmark/archive/$VERSION.tar.gz" |
al@19679 | 13 |
al@20516 | 14 BUILD_DEPENDS="cmake python3" |
al@21002 | 15 SPLIT="$PACKAGE-dev" |
al@19679 | 16 |
al@21002 | 17 compile_rules() { |
al@21002 | 18 mkdir build |
al@21002 | 19 cd build |
al@21002 | 20 cmake \ |
al@21002 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21002 | 22 .. && |
al@19679 | 23 make && |
al@19679 | 24 make test && |
al@21002 | 25 make install || return 1 |
al@21002 | 26 |
al@21002 | 27 cd $src |
al@21002 | 28 cook_pick_docs README.md benchmarks.md changelog.txt why-cmark-and-not-x.md |
al@19679 | 29 } |