system/ccid: Updated for version 1.4.14.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LukenShiro 2014-01-07 23:38:40 +07:00 committed by Erik Hanson
parent b5adf3e367
commit fad9b21917
3 changed files with 13 additions and 10 deletions

View file

@ -2,9 +2,9 @@ libccid provides a PC/SC IFD handler implementation for the USB smart card
drivers compliant to the Chip Card Interface Device (CCID) protocol.
This package is needed to communicate with the CCID smartcard readers
through the PC/SC Lite resource manager (pcscd). It also supports various
through the PC/SC Lite resource manager (pcscd). It also supports various
Gemplus serial smart card readers.
You will need to edit the pcsc-lite config files to be able to use serial
smart card readers. The INSTALL file in the documentation directory has
smart card readers. The INSTALL file in the documentation directory has
all the details.

View file

@ -3,6 +3,7 @@
# Slackware build script for ccid
# Copyright 2008 Andrew Psaltis <ampsaltis@gmail.com>
# Copyright 2014 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -29,7 +30,7 @@
# 05 October 2009 -- Updated to version 1.3.11
PRGNAM=ccid
VERSION=1.4.13
VERSION=${VERSION:-1.4.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,6 +61,8 @@ else
LIBDIRSUFFIX=""
fi
DOCFILES="AUTHORS COPYING INSTALL README"
set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION
@ -69,8 +72,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root.root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@ -97,14 +100,14 @@ mkdir -p $PKG/lib/udev/rules.d
cat src/92_pcscd_ccid.rules > $PKG/lib/udev/rules.d/92_pcscd_ccid.rules
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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
cd $PKG

View file

@ -1,8 +1,8 @@
PRGNAM="ccid"
VERSION="1.4.13"
VERSION="1.4.14"
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/ccid-1.4.13.tar.bz2"
MD5SUM="89c167a873df1f8bc0dc907ce209e5ff"
DOWNLOAD="https://alioth.debian.org/frs/download.php/file/3971/ccid-1.4.14.tar.bz2"
MD5SUM="4596f82e85e2996f7877e892b5c18382"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pcsc-lite"