mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/opensc: Updated for version 0.12.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
08f3b7fbce
commit
2529a9a1b8
3 changed files with 10 additions and 10 deletions
|
@ -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
|
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
|
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
|
OPENCT subsystem instead, you have to pass "OPENCT=1" to the script when
|
||||||
building and have openct installed.
|
building and have openct installed.
|
||||||
|
|
|
@ -23,16 +23,14 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=opensc
|
PRGNAM=opensc
|
||||||
VERSION=${VERSION:-0.12.0}
|
VERSION=${VERSION:-0.12.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
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 \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
# man files are not really built now, as we do not currently have XSL StyleSheets
|
||||||
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
#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/
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||||
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="opensc"
|
PRGNAM="opensc"
|
||||||
VERSION="0.12.0"
|
VERSION="0.12.1"
|
||||||
HOMEPAGE="http://www.opensc-project.org/opensc/"
|
HOMEPAGE="http://www.opensc-project.org/opensc/"
|
||||||
DOWNLOAD="http://www.opensc-project.org/files/opensc/opensc-0.12.0.tar.gz"
|
DOWNLOAD="http://www.opensc-project.org/files/opensc/opensc-0.12.1.tar.gz"
|
||||||
MD5SUM="630fa3b8717d22a1d069d120153a0c52"
|
MD5SUM="62fe8d3ed1864556c1970d7c23d8d58e"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="LukenShiro"
|
MAINTAINER="LukenShiro"
|
||||||
EMAIL="lukenshiro@ngi.it"
|
EMAIL="lukenshiro@ngi.it"
|
||||||
APPROVED="rworkman"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue