summaryrefslogtreecommitdiffstats
path: root/network/phodav/phodav.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/phodav/phodav.SlackBuild')
-rw-r--r--network/phodav/phodav.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/phodav/phodav.SlackBuild b/network/phodav/phodav.SlackBuild
index 19ae3ef990..4e5e51d440 100644
--- a/network/phodav/phodav.SlackBuild
+++ b/network/phodav/phodav.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for phodav
-# Copyright 2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=phodav
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -86,15 +86,15 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+mkdir $PKG/lib
+mv $PKG/usr/lib/udev $PKG/lib/
+
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
-# We don't use systemd
-rm -rf $PKG/usr/lib/systemd/
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild