wok annotate tidy-html5/receipt @ rev 24234
updated perl-log-agent (1.003 -> 1.005)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:02:12 2022 +0100 (2022-01-02) |
parents | f6746abf95cc |
children | 46d8460b95e4 |
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 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@18686 | 23 # Rules to configure and make the package. |
al@18686 | 24 compile_rules() |
al@18686 | 25 { |
al@18686 | 26 cd build/cmake |
Hans-G?nter@22028 | 27 cmake ../.. \ |
Hans-G?nter@22028 | 28 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22028 | 29 -DCMAKE_BUILD_TYPE=Release && |
Hans-G?nter@22028 | 30 make && |
Hans-G?nter@22028 | 31 make install |
al@18686 | 32 } |
al@18686 | 33 |
al@18686 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18686 | 35 genpkg_rules() |
al@18686 | 36 { |
al@18686 | 37 mkdir -p $fs/usr |
al@18686 | 38 cp -a $install/usr/bin $fs/usr |
al@18686 | 39 } |