wok annotate rcssmin/receipt @ rev 25416
updated wxWidgets and wxWidgets-dev (3.1.3 -> 3.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 09:20:59 2022 +0100 (2022-08-04) |
parents | bc08d1b89c0f |
children | 01119cbefbc3 |
rev | line source |
---|---|
al@18686 | 1 # SliTaz package receipt. |
al@18686 | 2 |
al@18686 | 3 PACKAGE="rcssmin" |
al@18686 | 4 VERSION="1.0.6" |
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 } |