wok-current annotate csstidy/receipt @ rev 24387
updated bsc (3.1.0 -> 3.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 07 15:20:20 2022 +0100 (2022-02-07) |
parents | bc08d1b89c0f |
children | 241fb98cab1c |
rev | line source |
---|---|
al@18686 | 1 # SliTaz package receipt. |
al@18686 | 2 |
al@18686 | 3 PACKAGE="csstidy" |
al@18686 | 4 VERSION="1.4" |
al@18686 | 5 CATEGORY="development" |
al@18686 | 6 SHORT_DESC="CSSTidy is a program that optimises, formats and fixes CSS code" |
al@18686 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18686 | 8 LICENSE="GPL2" |
al@18686 | 9 WEB_SITE="http://csstidy.sourceforge.net/" |
al@18686 | 10 TARBALL="$PACKAGE-source-$VERSION.zip" |
al@18686 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@18686 | 12 |
al@18686 | 13 DEPENDS="" |
al@18686 | 14 BUILD_DEPENDS="scons" |
al@18686 | 15 |
pascal@24383 | 16 # What is the latest version available today? |
pascal@24383 | 17 current_version() |
pascal@24383 | 18 { |
pascal@24383 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24383 | 20 sed '/C++/!d;s|.*(PHP), ||;s| (C.*||;q' |
pascal@24383 | 21 } |
pascal@24383 | 22 |
al@18686 | 23 # Rules to configure and make the package. |
al@18686 | 24 compile_rules() |
al@18686 | 25 { |
al@18686 | 26 patch -p1 -i $stuff/csstidy-1.4-fix-misc.cpp.patch |
al@18686 | 27 scons |
al@18686 | 28 mkdir -p $install/usr/bin |
al@18686 | 29 cp -a $src/release/csstidy/csstidy $install/usr/bin |
al@18686 | 30 } |
al@18686 | 31 |
al@18686 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18686 | 33 genpkg_rules() |
al@18686 | 34 { |
al@18686 | 35 cp -a $install/* $fs |
al@18686 | 36 } |