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

@ -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

View file

@ -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"