wok-next diff phpqrcode/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c4e53a39395a
children
line diff
     1.1 --- a/phpqrcode/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/phpqrcode/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,28 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="phpqrcode"
     1.8  VERSION="1.1.4"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Library for generating QR Code, 2-dimensional barcode."
    1.11 +SHORT_DESC="Library for generating QR Code, 2-dimensional barcode"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://phpqrcode.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-2010100721_$VERSION.zip"
    1.17 -WEB_SITE="http://phpqrcode.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="qrencode php-gd"
    1.21 -
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	mv phpqrcode $src 2> /dev/null
    1.26 +compile_rules() {
    1.27 +	mv phpqrcode $src 2>/dev/null
    1.28  	cd $src
    1.29 +	mkdir -p $install/usr/share/$PACKAGE
    1.30 +	cp -a $src $install/usr/share/$PACKAGE/
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	mkdir -p $fs/usr/share/$PACKAGE
    1.37 -	cp -a $src $fs//usr/share/$PACKAGE/
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40 +	DEPENDS="qrencode php-gd"
    1.41  }
    1.42 -