system/pcsc-lite: Updated for version 1.8.12.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LukenShiro 2014-10-17 08:28:30 +07:00 committed by Willy Sudiarto Raharjo
parent 30e52ed164
commit 8c07cd4408
3 changed files with 11 additions and 45 deletions

View file

@ -1,34 +0,0 @@
--- DRIVERS 2008-05-17 17:20:11.636054139 +0200
+++ DRIVERS.new 2008-05-17 17:21:51.637812109 +0200
@@ -2,18 +2,18 @@
To install USB drivers, download the driver from http://www.linuxnet.com/
and copy it to a temporary location. After you have unarchived the files
-copy the directory to /usr/local/pcsc/drivers/. If the directory
-/usr/local/pcsc/drivers/ does not exist create it before copying the driver
+copy the directory to <libdir>/pcsc/drivers/. If the directory
+<libdir>/pcsc/drivers/ does not exist, create it before copying the driver
directory to it.
Example Mac OS X, Linux 2.4:
tar -xzvf driver.bundle-0.1.0.tar.gz
-cp -r driver.bundle /usr/local/pcsc/drivers/
-cd /usr/local/pcsc/drivers/driver.bundle
+cp -r driver.bundle <libdir>/pcsc/drivers/
+cd <libdir>/pcsc/drivers/driver.bundle
build or use Project Builder to build
-The /usr/local/pcsc/drivers/ directory should contain bundle directories only.
+The <libdir>/pcsc/drivers/ directory should contain bundle directories only.
You must restart pcscd to use the new driver.
@@ -28,3 +28,7 @@
Refer to the driver README for more information.
$Id: DRIVERS 867 2004-05-13 13:25:06Z rousseau $
+
+# Edited by Robby Workman <rworkman@slackbuilds.org> to reflect correct
+# information when installed from SlackBuilds.org -- 20080305
+

View file

@ -2,7 +2,7 @@
# Slackware build script for pcsc-lite
# Copyright 2007-2013 LukenShiro, Italy
# Copyright 2007-2014 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcsc-lite
VERSION=${VERSION:-1.8.10}
VERSION=${VERSION:-1.8.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -85,14 +85,14 @@ 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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
\( -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 {} \;
# Fix the DRIVERS file to reflect the correct drivers directory as built
# with this script
patch -p0 < $CWD/docs-DRIVERS.diff || exit 1
sed -i "s|\/usr\/local|<libdir>|g" DRIVERS
# ATR (answer to reset) debug parsing output
case "$DEBUGATR" in

View file

@ -1,10 +1,10 @@
PRGNAM="pcsc-lite"
VERSION="1.8.10"
VERSION="1.8.12"
HOMEPAGE="http://pcsclite.alioth.debian.org"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/pcsc-lite-1.8.10.tar.bz2"
MD5SUM="7268cc5ef8fc01b785c7cea87adb1ade"
DOWNLOAD="https://alioth.debian.org/frs/download.php/file/4115/pcsc-lite-1.8.12.tar.bz2"
MD5SUM="0be8ccfe749314dc8200bddcd2d5fa43"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
REQUIRES=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"