diff options
Diffstat (limited to 'system/pcsc-perl/pcsc-perl.SlackBuild')
-rw-r--r-- | system/pcsc-perl/pcsc-perl.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/system/pcsc-perl/pcsc-perl.SlackBuild b/system/pcsc-perl/pcsc-perl.SlackBuild index 3616767c20962..d28f0cc7d503f 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 \ |