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