wok-next annotate csstidy/receipt @ rev 19414
Up slitaz-dev-tools (258)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 24 14:47:43 2016 +0200 (2016-09-24) |
parents | |
children | d6378d455338 |
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 } |