SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rcssmin"

# SliTaz package receipt.

PACKAGE="rcssmin"
VERSION="1.1.1"
CATEGORY="development"
SHORT_DESC="rCSSmin is a CSS minifier written in Python"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="Apache"
WEB_SITE="http://opensource.perlig.de/rcssmin/"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="http://storage.perlig.de/rcssmin/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root=$install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)