diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-04 19:38:32 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-05 20:11:57 -0500 |
commit | 659d69766ef5b22e8f89b8b6e75cf5b9a36421a3 (patch) | |
tree | f024602ccc712adefb85f39cddd070834ee4049b /network/spice/spice.SlackBuild | |
parent | 6fcc3d1c3f202db5907cacc5192b1f18f9dea318 (diff) |
network/spice: Updated for version 0.11.3
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 6c1347e41d580..ee72b3f24a3f7 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 |