summaryrefslogtreecommitdiffstats
path: root/system/spice-vdagent/spice-vdagent.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2016-04-18 09:01:07 +0200
committer Willy Sudiarto Raharjo2016-04-19 17:47:39 +0200
commitdc782b4fecc603e16d3043738a551d2eb1da17d2 (patch)
tree585c236e274bd7b87880e7c6ce362cef4c11eb20 /system/spice-vdagent/spice-vdagent.SlackBuild
parentfbba94f646eebcf02bcd3563e55487e1f82a250d (diff)
downloadslackbuilds-dc782b4fecc603e16d3043738a551d2eb1da17d2.tar.gz
system/spice-vdagent: Updated for version 0.16.0.
Make xf86-video-qxl an optional dependency Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/spice-vdagent/spice-vdagent.SlackBuild')
-rw-r--r--system/spice-vdagent/spice-vdagent.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/spice-vdagent/spice-vdagent.SlackBuild b/system/spice-vdagent/spice-vdagent.SlackBuild
index 2b6003ef1b..e35b942854 100644
--- a/system/spice-vdagent/spice-vdagent.SlackBuild
+++ b/system/spice-vdagent/spice-vdagent.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=spice-vdagent
-VERSION=${VERSION:-0.12.0}
+VERSION=${VERSION:-0.16.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,6 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -86,6 +87,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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
+
# Install an init script and an X.org configuration file
install -m 0755 -D $CWD/files/rc.spice-vdagent \
$PKG/etc/rc.d/rc.spice-vdagent.new