Files
haikuports/media-gfx/qrencode/qrencode-3.4.4.recipe
taos 6b59d4f192 recipe updated to qrencode-3.4.4
command-line utility "qrencode" added by removing ./configure option
"without-tools"
2015-05-22 21:29:36 +02:00

74 lines
2.0 KiB
Plaintext

SUMMARY="QR Code encoding library"
DESCRIPTION="
Libqrencode is a library for encoding data in a QR Code symbol, a kind of 2D \
symbology that can be scanned by handy terminals such as a mobile phone with \
CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and has \
high robustness.
Libqrencode accepts a string or a list of data chunks then encodes in a QR Code \
symbol as a bitmap array. While other QR Code applications generate an image \
file, using libqrencode allows applications to render QR Code symbols from raw \
bitmap data directly. This library also contains a command-line utility outputs \
a QR Code symbol as a PNG image. It will help light-weight CGI programs.
"
HOMEPAGE="http://fukuchi.org/works/qrencode/"
COPYRIGHT="2006-2012 Kentaro Fukuchi"
LICENSE="GNU LGPL v2.1"
SRC_URI="http://fukuchi.org/works/qrencode/qrencode-$portVersion.tar.gz"
CHECKSUM_SHA256="e794e26a96019013c0e3665cb06b18992668f352c5553d0a553f5d144f7f2a72"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
qrencode$secondaryArchSuffix = $portVersion
cmd:qrencode$secondaryArchSuffix = $portVersion
lib:libqrencode$secondaryArchSuffix = 3.4.4 compat >= 3
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libpng16$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:sed
cmd:awk
"
BUILD()
{
runConfigure ./configure --enable-static
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libqrencode
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
qrencode${secondaryArchSuffix}_devel = $portVersion compat >= 3
devel:libqrencode$secondaryArchSuffix = 3.4.4 compat >= 3
"
REQUIRES_devel="
qrencode$secondaryArchSuffix == $portVersion
"