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