wok-current view tidy-html5/receipt @ rev 24577

updated ftgl and ftgl-dev (2.1.3-rc5 -> 2.4.0)
author Hans-G?nter Theisgen
date Sun Feb 27 11:03:39 2022 +0100 (2022-02-27)
parents 5ea0ce1cecc0
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="tidy-html5"
4 VERSION="5.8.0"
5 CATEGORY="development"
6 SHORT_DESC="The granddaddy of HTML tools, with support for modern standards."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="W3C"
9 WEB_SITE="https://www.html-tidy.org/"
10 REPOLOGY="tidy"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/htacg/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS=""
16 BUILD_DEPENDS="cmake libxslt"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd build/cmake &&
28 cmake ../.. \
29 -D CMAKE_INSTALL_PREFIX=/usr \
30 -D CMAKE_BUILD_TYPE=Release &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }