SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tidy"

# SliTaz package receipt.

PACKAGE="tidy"
VERSION="cvs_20101110"
CATEGORY="development"
SHORT_DESC="HTML Tidy"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="MIT"
WEB_SITE="https://tidy.sourceforge.net/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://anduin.linuxfromscratch.org/sources/BLFS/svn/t/$TARBALL"

DEPENDS="glibc-base"
BUILD_DEPENDS="file"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/htacg/tidy-html5/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --disable-debug \
        --disable-static \
        --enable-access \
        --enable-utf16 \
        --enable-asian &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)