wok annotate phpqrcode/receipt @ rev 25526
created recipe for lua5.1-mpack 1.0.9
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:18:33 2023 +0100 (20 months ago) |
parents | 7dd01dedad38 |
children |
rev | line source |
---|---|
pascal@7858 | 1 # SliTaz package receipt. |
pascal@7858 | 2 |
pascal@7858 | 3 PACKAGE="phpqrcode" |
pascal@7858 | 4 VERSION="1.1.4" |
pascal@7858 | 5 CATEGORY="development" |
pascal@7858 | 6 SHORT_DESC="Library for generating QR Code, 2-dimensional barcode." |
pascal@7858 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15198 | 8 LICENSE="GPL3" |
pascal@7858 | 9 TARBALL="$PACKAGE-2010100721_$VERSION.zip" |
pascal@25460 | 10 WEB_SITE="https://phpqrcode.sourceforge.net/" |
pascal@7858 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@16264 | 12 HOST_ARCH="any" |
pascal@15198 | 13 |
pascal@7858 | 14 DEPENDS="qrencode php-gd" |
pascal@7858 | 15 |
pascal@25461 | 16 # What is the latest version available today? |
pascal@24102 | 17 current_version() |
pascal@24102 | 18 { |
pascal@24102 | 19 wget -O - https://sourceforge.net/projects/phpqrcode/files/releases/ 2>/dev/null | \ |
pascal@24102 | 20 sed '/released/!d;s|.*_||;s|.zip.*||;q' |
pascal@24102 | 21 } |
pascal@24102 | 22 |
pascal@7858 | 23 # Rules to configure and make the package. |
pascal@7858 | 24 compile_rules() |
pascal@7858 | 25 { |
pascal@7858 | 26 mv phpqrcode $src 2> /dev/null |
pascal@7858 | 27 cd $src |
pascal@7858 | 28 } |
pascal@7858 | 29 |
pascal@7858 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7858 | 31 genpkg_rules() |
pascal@7858 | 32 { |
pascal@7858 | 33 mkdir -p $fs/usr/share/$PACKAGE |
pascal@7858 | 34 cp -a $src $fs//usr/share/$PACKAGE/ |
pascal@7858 | 35 } |