wok view rcssmin/receipt @ rev 25214
updated python-pastedeploy (2.1.0 -> 2.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:21:10 2022 +0100 (2022-07-13) |
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 }