wok-6.x view tidy-html5/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | 5ea0ce1cecc0 |
children |
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 }