wok-6.x annotate tidy-html5/receipt @ rev 23055
libgnomeprint: Bison 3 update
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 07 12:23:57 2020 +0100 (2020-03-07) |
parents | bc08d1b89c0f |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
al@18686 | 1 # SliTaz package receipt. |
al@18686 | 2 |
al@18686 | 3 PACKAGE="tidy-html5" |
Hans-G?nter@22028 | 4 VERSION="5.6.0" |
al@18686 | 5 CATEGORY="development" |
Hans-G?nter@22028 | 6 SHORT_DESC="The granddaddy of HTML tools, with support for modern standards." |
al@18686 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18686 | 8 LICENSE="MIT" |
Hans-G?nter@22028 | 9 WEB_SITE="http://www.html-tidy.org/" |
Hans-G?nter@22028 | 10 |
al@18686 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22028 | 12 WGET_URL="https://github.com/htacg/$PACKAGE/archive/$VERSION.tar.gz" |
al@18686 | 13 |
al@18686 | 14 DEPENDS="" |
al@18686 | 15 BUILD_DEPENDS="cmake libxslt" |
al@18686 | 16 |
al@18686 | 17 # Rules to configure and make the package. |
al@18686 | 18 compile_rules() |
al@18686 | 19 { |
al@18686 | 20 cd build/cmake |
Hans-G?nter@22028 | 21 cmake ../.. \ |
Hans-G?nter@22028 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22028 | 23 -DCMAKE_BUILD_TYPE=Release && |
Hans-G?nter@22028 | 24 make && |
Hans-G?nter@22028 | 25 make install |
al@18686 | 26 } |
al@18686 | 27 |
al@18686 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18686 | 29 genpkg_rules() |
al@18686 | 30 { |
al@18686 | 31 mkdir -p $fs/usr |
al@18686 | 32 cp -a $install/usr/bin $fs/usr |
al@18686 | 33 } |