wok diff csstidy/receipt @ rev 24084

libjson-c-dev: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 13:06:31 2021 +0000 (2021-07-10)
parents
children 076f424196b2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/csstidy/receipt	Sat Jul 10 13:06:31 2021 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="csstidy"
     1.7 +VERSION="1.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="CSSTidy is a program that optimises, formats and fixes CSS code"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://csstidy.sourceforge.net/"
    1.13 +TARBALL="$PACKAGE-source-$VERSION.zip"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS=""
    1.17 +BUILD_DEPENDS="scons"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	patch -p1 -i $stuff/csstidy-1.4-fix-misc.cpp.patch
    1.23 +	scons
    1.24 +	mkdir -p $install/usr/bin
    1.25 +	cp -a $src/release/csstidy/csstidy $install/usr/bin
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +}