wok annotate tidy-html5/receipt @ rev 25004

updated ntfs-3g and ntfs-3g-dev (2017.3.23 -> 2021.8.22)
author Hans-G?nter Theisgen
date Mon May 16 16:20:40 2022 +0100 (2022-05-16)
parents 5ea0ce1cecc0
children
rev   line source
al@18686 1 # SliTaz package receipt.
al@18686 2
al@18686 3 PACKAGE="tidy-html5"
Hans-G?nter@24310 4 VERSION="5.8.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"
Hans-G?nter@24310 8 LICENSE="W3C"
Hans-G?nter@24310 9 WEB_SITE="https://www.html-tidy.org/"
Hans-G?nter@24310 10 REPOLOGY="tidy"
Hans-G?nter@22028 11
al@18686 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22028 13 WGET_URL="https://github.com/htacg/$PACKAGE/archive/$VERSION.tar.gz"
al@18686 14
al@18686 15 DEPENDS=""
al@18686 16 BUILD_DEPENDS="cmake libxslt"
al@18686 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
al@18686 24 # Rules to configure and make the package.
al@18686 25 compile_rules()
al@18686 26 {
Hans-G?nter@24310 27 cd build/cmake &&
Hans-G?nter@22028 28 cmake ../.. \
Hans-G?nter@24310 29 -D CMAKE_INSTALL_PREFIX=/usr \
Hans-G?nter@24310 30 -D CMAKE_BUILD_TYPE=Release &&
Hans-G?nter@22028 31 make &&
Hans-G?nter@22028 32 make install
al@18686 33 }
al@18686 34
al@18686 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18686 36 genpkg_rules()
al@18686 37 {
Hans-G?nter@24310 38 cook_copy_folders bin
al@18686 39 }