system/opensc: Updated for version 0.12.1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
LukenShiro 2011-07-12 05:23:26 -04:00 committed by Niels Horn
parent 08f3b7fbce
commit 2529a9a1b8
3 changed files with 10 additions and 10 deletions

View file

@ -19,6 +19,6 @@ This requires either pcsc-lite or openct (see below for details).
Since version 0.12.0, only one reader subsystem can be used and compiled
in at the same time. The PCSC-LITE subsystem is used by default and it is
suitable for most smartcards (it requires pcsc-lite). If you need the
suitable for most smartcards (it requires pcsc-lite). If you need the
OPENCT subsystem instead, you have to pass "OPENCT=1" to the script when
building and have openct installed.

View file

@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opensc
VERSION=${VERSION:-0.12.0}
VERSION=${VERSION:-0.12.1}
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
@ -100,8 +98,10 @@ mv $PKG/etc/opensc.conf $PKG/etc/opensc.conf.new
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
# man files are not really built now, as we do not currently have XSL StyleSheets
#find $PKG/usr/man -type f -exec gzip -9 {} \;
#for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
rm -rf $PKG/usr/man
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="opensc"
VERSION="0.12.0"
VERSION="0.12.1"
HOMEPAGE="http://www.opensc-project.org/opensc/"
DOWNLOAD="http://www.opensc-project.org/files/opensc/opensc-0.12.0.tar.gz"
MD5SUM="630fa3b8717d22a1d069d120153a0c52"
DOWNLOAD="http://www.opensc-project.org/files/opensc/opensc-0.12.1.tar.gz"
MD5SUM="62fe8d3ed1864556c1970d7c23d8d58e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
APPROVED="rworkman"
APPROVED="dsomero"