Browse Source

graphics/qrencode: Updated for version 4.0.2 + new maintainer.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
pull/47/head
Lenard Spencer 7 years ago
committed by Willy Sudiarto Raharjo
parent
commit
ab7b2eb222
No known key found for this signature in database GPG Key ID: 887B8374D7333381
  1. 6
      graphics/qrencode/README
  2. 14
      graphics/qrencode/qrencode.SlackBuild
  3. 10
      graphics/qrencode/qrencode.info

6
graphics/qrencode/README

@ -1,4 +1,4 @@
Libqrencode is a C 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
Libqrencode is a C 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 is highly robust.

14
graphics/qrencode/qrencode.SlackBuild

@ -3,6 +3,7 @@
# SlackBuild Script for qrencode
# Copyright 2012 Matthew "mfillpot" Fillpot
# Revised 2018 Lenard Spencer
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qrencode
VERSION=${VERSION:-3.4.2}
VERSION=${VERSION:-4.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -60,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -83,6 +84,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# Do not ship .la files
find $PKG/usr/lib${LIBDIRSUFFIX} -name *.la -delete || true
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

10
graphics/qrencode/qrencode.info

@ -1,10 +1,10 @@
PRGNAM="qrencode"
VERSION="3.4.2"
VERSION="4.0.2"
HOMEPAGE="https://fukuchi.org/works/qrencode/"
DOWNLOAD="https://fukuchi.org/works/qrencode/qrencode-3.4.2.tar.gz"
MD5SUM="f6eed222ddcaa32d9f79ad9078b5816d"
DOWNLOAD="https://fukuchi.org/works/qrencode/qrencode-4.0.2.tar.bz2"
MD5SUM="3eb64357f6fbdb68c27cb2e44e97280a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Matthew Fillpot"
EMAIL="mfilpot@gmail.com"
MAINTAINER="Lenard Spencer"
EMAIL="lspencer31@cfl.rr.com"
Loading…
Cancel
Save