wok-next annotate cmark-gfm/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 558329d2603a |
children | 1eb4aacb48ed |
rev | line source |
---|---|
al@19679 | 1 # SliTaz package receipt. |
al@19679 | 2 |
al@19679 | 3 PACKAGE="cmark-gfm" |
al@19679 | 4 VERSION="0.27.1.76" |
al@19679 | 5 COMMIT="a81db63" |
al@19679 | 6 CATEGORY="text" |
al@19679 | 7 SHORT_DESC="Github fork of CommonMark parsing and rendering program in C" |
al@19679 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19679 | 9 LICENSE="BSD" |
al@19679 | 10 WEB_SITE="https://github.com/github/cmark" |
al@19679 | 11 |
al@19679 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19679 | 13 WGET_URL="$GITHUB/github/cmark/tarball/${COMMIT:-$VERSION}" |
al@19679 | 14 |
al@19679 | 15 BUILD_DEPENDS="cmake py3k" |
al@19679 | 16 |
al@19679 | 17 # Rules to configure and make the package. |
al@19679 | 18 compile_rules() |
al@19679 | 19 { |
al@19679 | 20 patch -p1 -i $stuff/cmark-0.27.1.76.patch |
al@19679 | 21 |
al@19679 | 22 mkdir build; cd build |
al@19679 | 23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
al@19679 | 24 make && |
al@19679 | 25 make test && |
al@19679 | 26 make install |
al@19679 | 27 } |
al@19679 | 28 |
al@19679 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19679 | 30 genpkg_rules() |
al@19679 | 31 { |
al@19783 | 32 copy cmark-gfm |
al@19679 | 33 } |