SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "csstidy"

# SliTaz package receipt.

PACKAGE="csstidy"
VERSION="1.4"
CATEGORY="development"
SHORT_DESC="CSSTidy is a program that optimises, formats and fixes CSS code"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://csstidy.sourceforge.net/"
TARBALL="$PACKAGE-source-$VERSION.zip"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="scons"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/Cerdic/CSSTidy/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    patch -p1 -i $stuff/csstidy-1.4-fix-misc.cpp.patch
    scons
    mkdir -p $install/usr/bin
    cp -a $src/release/csstidy/csstidy $install/usr/bin
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)