From f8ef861de227e0570a4e78333bb0bb53e01ddb28 Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Wed, 12 May 2010 17:45:44 +0200 Subject: system/opensc: Updated for version 0.11.8 --- system/opensc/opensc.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system/opensc/opensc.SlackBuild') diff --git a/system/opensc/opensc.SlackBuild b/system/opensc/opensc.SlackBuild index b9c0a22244..e66a440f54 100644 --- a/system/opensc/opensc.SlackBuild +++ b/system/opensc/opensc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for opensc -# Copyright 2008 LukenShiro +# Copyright 2008-2009 LukenShiro # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=opensc -VERSION=${VERSION:-0.11.6} +VERSION=${VERSION:-0.11.8} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,10 +37,13 @@ DOCFILES="README COPYING NEWS" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e # Exit on most errors @@ -60,6 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --datarootdir=/usr/share \ --mandir=/usr/man \ -- cgit v1.2.3