summaryrefslogtreecommitdiff
path: root/system/pcsc-perl/pcsc-perl.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2011-01-08 15:49:35 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:23 -0600
commitb2a607f27c22152cf8d8b6f72fd2b3d0b852a282 (patch)
tree3d7bddf7d006bc75c15f38c9adc937a7b1f48f13 /system/pcsc-perl/pcsc-perl.SlackBuild
parent20e0ee0f222ff6726249bc608193399c9b8e760e (diff)
downloadslackbuilds-b2a607f27c22152cf8d8b6f72fd2b3d0b852a282.tar.gz
system/pcsc-perl: Updated for version 1.4.11 + new maintainer.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/pcsc-perl/pcsc-perl.SlackBuild')
-rw-r--r--system/pcsc-perl/pcsc-perl.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/system/pcsc-perl/pcsc-perl.SlackBuild b/system/pcsc-perl/pcsc-perl.SlackBuild
index 3616767c20..d28f0cc7d5 100644
--- a/system/pcsc-perl/pcsc-perl.SlackBuild
+++ b/system/pcsc-perl/pcsc-perl.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pcsc-perl
# Copyright 2008 Andrew Psaltis <ampsaltis@gmail.com>
+# Copyright 2011 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,16 +25,14 @@
PRGNAM=pcsc-perl
-VERSION=1.4.8
+VERSION=1.4.11
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -64,10 +63,14 @@ set -e
rm -rf $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xfv $CWD/$PRGNAM-$VERSION.tar.gz
+tar xfv $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root.root .
-chmod u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
perl Makefile.PL \
PREFIX=/usr \