wok-current view tidy/receipt @ rev 24418
clamtk: replaced perl-gtk2 by perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:25:31 2022 +0100 (2022-02-11) |
parents | 7cf304e72e40 |
children | bd7510903310 |
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="http://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 }