wok view phpqrcode/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 15650f5d595b
children cec9f8f5726d
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="https://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 }