diff options
Diffstat (limited to 'network/phodav/phodav.SlackBuild')
-rw-r--r-- | network/phodav/phodav.SlackBuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/network/phodav/phodav.SlackBuild b/network/phodav/phodav.SlackBuild index 1b3c1bcebc7b0..6b597d64605af 100644 --- a/network/phodav/phodav.SlackBuild +++ b/network/phodav/phodav.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for phodav -# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2016-2019 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.2} +VERSION=${VERSION:-2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,21 +73,15 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +meson \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ - --localstatedir=/var \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --build=$ARCH-slackware-linux + build -make -make install DESTDIR=$PKG - -mkdir $PKG/lib -mv $PKG/usr/lib/udev $PKG/lib/ +ninja -C build +DESTDIR=$PKG ninja -C build install 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 |