wok-next diff csstidy/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 33df80a31584 |
children |
line diff
1.1 --- a/csstidy/receipt Tue May 29 21:35:43 2018 +0300 1.2 +++ b/csstidy/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,28 +1,23 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="csstidy" 1.8 VERSION="1.4" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="CSSTidy is a program that optimises, formats and fixes CSS code" 1.11 +SHORT_DESC="Optimise, format and fix CSS code" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="http://csstidy.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-source-$VERSION.zip" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 -DEPENDS="" 1.20 BUILD_DEPENDS="scons2" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - scons 1.26 - mkdir -p $install/usr/bin 1.27 - cp -a $src/release/csstidy/csstidy $install/usr/bin 1.28 +compile_rules() { 1.29 + scons && 1.30 + install -Dm755 release/csstidy/csstidy $install/usr/bin/csstidy 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - cp -a $install/* $fs 1.37 +genpkg_rules() { 1.38 + copy @std 1.39 }