wok view rcssmin/receipt @ rev 25624

Add opendkim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:45:57 2023 +0000 (12 months ago)
parents 2f230197370e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rcssmin"
4 VERSION="1.1.1"
5 CATEGORY="development"
6 SHORT_DESC="rCSSmin is a CSS minifier written in Python"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="http://opensource.perlig.de/rcssmin/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://storage.perlig.de/rcssmin/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --root=$install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }