diff options
Diffstat (limited to 'network/spice/spice.SlackBuild')
-rw-r--r-- | network/spice/spice.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
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 <ponce@slackbuilds.org> 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 |