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

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (7 weeks ago)
parents 46d8460b95e4
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 HOST_ARCH="i486 x86_64"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd build/cmake &&
30 cmake ../.. \
31 -D CMAKE_INSTALL_PREFIX=/usr \
32 -D CMAKE_BUILD_TYPE=Release &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }