SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "phpqrcode"

# 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/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)