wok-current view tidy-html5/receipt @ rev 25509
sgmixer: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 13:14:45 2023 +0000 (21 months ago) |
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 }