From 659d69766ef5b22e8f89b8b6e75cf5b9a36421a3 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 4 Sep 2012 19:38:32 +0200 Subject: network/spice: Updated for version 0.11.3 Signed-off-by: Matteo Bernardini --- network/spice/spice.SlackBuild | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'network/spice/spice.SlackBuild') diff --git a/network/spice/spice.SlackBuild b/network/spice/spice.SlackBuild index 6c1347e41d..ee72b3f24a 100644 --- a/network/spice/spice.SlackBuild +++ b/network/spice/spice.SlackBuild @@ -4,7 +4,7 @@ # Written by Matteo Bernardini PRGNAM=spice -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-0.11.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,10 +37,11 @@ fi DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" -if [ "${CACARD:-no}" = "no" ]; then - with_libcacard="" +# check if libcacard is there +if pkg-config --exists libcacard ; then + with_cacard="--enable-smartcard" else - with_libcacard="--enable-smartcard" + with_cacard="--disable-smartcard" fi set -e # Exit on most errors @@ -64,13 +65,10 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --localstatedir=/var \ --disable-static \ - --enable-shared \ - $with_libcacard \ + --enable-client \ + $with_cacard \ --build=$ARCH-slackware-linux make -- cgit v1.2.3