aboutsummaryrefslogtreecommitdiff
path: root/network/phodav
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2019-08-19 17:16:48 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:52:29 -0500
commitaed4f1b654def276e7b5e741abc169e58fa4afb2 (patch)
treee2bc8ea0ee836e7b673ced95be12c3e1bb7c91d8 /network/phodav
parent87ac4b78d7a75c07abf7fa5979e1505520f2f731 (diff)
network/phodav: Updated for version 2.3, switch to meson.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/phodav')
-rw-r--r--network/phodav/phodav.SlackBuild18
-rw-r--r--network/phodav/phodav.info6
2 files changed, 9 insertions, 15 deletions
diff --git a/network/phodav/phodav.SlackBuild b/network/phodav/phodav.SlackBuild
index 1b3c1bcebc7b..6b597d64605a 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
diff --git a/network/phodav/phodav.info b/network/phodav/phodav.info
index 7b7b8d70507f..5fc7a8b6688b 100644
--- a/network/phodav/phodav.info
+++ b/network/phodav/phodav.info
@@ -1,8 +1,8 @@
PRGNAM="phodav"
-VERSION="2.2"
+VERSION="2.3"
HOMEPAGE="https://wiki.gnome.org/phodav"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/phodav/2.2/phodav-2.2.tar.xz"
-MD5SUM="18dc8890ef3606f2a053054658dbf016"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/phodav/2.3/phodav-2.3.tar.xz"
+MD5SUM="0f4bbe83181037577c808acea166b26a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""