wok-6.x annotate tidy/receipt @ rev 24477

updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author Hans-G?nter Theisgen
date Fri Feb 18 10:50:23 2022 +0100 (2022-02-18)
parents 7cf304e72e40
children bd7510903310
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"
al@14468 9 WEB_SITE="http://tidy.sourceforge.net/"
al@14468 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14468 11 WGET_URL="http://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 }