wok-6.x annotate csstidy/receipt @ rev 22774
Add serf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 25 17:25:42 2020 +0100 (2020-01-25) |
parents | |
children | 076f424196b2 |
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 |
al@18686 | 16 # Rules to configure and make the package. |
al@18686 | 17 compile_rules() |
al@18686 | 18 { |
al@18686 | 19 patch -p1 -i $stuff/csstidy-1.4-fix-misc.cpp.patch |
al@18686 | 20 scons |
al@18686 | 21 mkdir -p $install/usr/bin |
al@18686 | 22 cp -a $src/release/csstidy/csstidy $install/usr/bin |
al@18686 | 23 } |
al@18686 | 24 |
al@18686 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18686 | 26 genpkg_rules() |
al@18686 | 27 { |
al@18686 | 28 cp -a $install/* $fs |
al@18686 | 29 } |