wok view phpqrcode/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents d51b2411e55e
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="phpqrcode"
4 VERSION="1.1.4"
5 CATEGORY="development"
6 SHORT_DESC="Library for generating QR Code, 2-dimensional barcode."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-2010100721_$VERSION.zip"
10 WEB_SITE="http://phpqrcode.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="any"
14 DEPENDS="qrencode php-gd"
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/phpqrcode/files/releases/ 2>/dev/null | \
19 sed '/released/!d;s|.*_||;s|.zip.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mv phpqrcode $src 2> /dev/null
26 cd $src
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/$PACKAGE
33 cp -a $src $fs//usr/share/$PACKAGE/
34 }