# SliTaz package receipt. PACKAGE="phpqrcode" VERSION="1.1.4" CATEGORY="development" SHORT_DESC="Library for generating QR Code, 2-dimensional barcode." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-2010100721_$VERSION.zip" WEB_SITE="https://phpqrcode.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" HOST_ARCH="any" DEPENDS="qrencode php-gd" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/phpqrcode/files/releases/ 2>/dev/null | \ sed '/released/!d;s|.*_||;s|.zip.*||;q' } # Rules to configure and make the package. compile_rules() { mv phpqrcode $src 2> /dev/null cd $src } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/$PACKAGE cp -a $src $fs//usr/share/$PACKAGE/ }