wok view tidy/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents 922f061231c2
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="tidy"
4 VERSION="cvs_20101110"
5 CATEGORY="development"
6 SHORT_DESC="HTML Tidy"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://tidy.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://anduin.linuxfromscratch.org/sources/BLFS/svn/t/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="file"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/htacg/tidy-html5/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --disable-debug \
28 --disable-static \
29 --enable-access \
30 --enable-utf16 \
31 --enable-asian &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }