wok-current view rcssmin/receipt @ rev 24661
updated ii (1.6 -> 1.9)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 13:28:05 2022 +0100 (2022-03-11) |
parents | bc08d1b89c0f |
children | 01119cbefbc3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rcssmin"
4 VERSION="1.0.6"
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 }