summaryrefslogtreecommitdiff
path: root/libraries/libvirt/libvirt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvirt/libvirt.SlackBuild')
-rw-r--r--libraries/libvirt/libvirt.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libvirt/libvirt.SlackBuild b/libraries/libvirt/libvirt.SlackBuild
index 03ac539487..12dac8bf95 100644
--- a/libraries/libvirt/libvirt.SlackBuild
+++ b/libraries/libvirt/libvirt.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=libvirt
VERSION=${VERSION:-3.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,6 +53,9 @@ find -L . \
# we have sysctld files in /etc/sysctl.d
sed -i "s|(prefix)/lib/sysctl|(sysconfdir)/sysctl|" daemon/Makefile.in
+patch -p1 < $CWD/use-virtgroup-in-polkit-rules.diff
+sed -i -e "s,@VIRTGROUP@,$VIRTGROUP,g" daemon/libvirt.rules
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -103,7 +106,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING* INSTALL README NEWS TODO \
+ AUTHORS ChangeLog COPYING* INSTALL README NEWS TODO examples/polkit/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild