summaryrefslogtreecommitdiff
path: root/source/l/libsoup/libsoup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libsoup/libsoup.SlackBuild')
-rwxr-xr-xsource/l/libsoup/libsoup.SlackBuild34
1 files changed, 23 insertions, 11 deletions
diff --git a/source/l/libsoup/libsoup.SlackBuild b/source/l/libsoup/libsoup.SlackBuild
index 982dd61e..48a9724e 100755
--- a/source/l/libsoup/libsoup.SlackBuild
+++ b/source/l/libsoup/libsoup.SlackBuild
@@ -72,19 +72,31 @@ cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-CFLAGS="$SLKCFLAGS" \
-./configure \
+# EXAMPLE FOR MESON:
+# Configure, build, and install:
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir meson-build
+cd meson-build
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/man \
--sysconfdir=/etc \
- --localstatedir=/var/lib \
- --disable-static \
- --with-gnome \
- --enable-vala=no \
- --build=$ARCH-slackware-linux || exit 1
-
-make $NUMJOBS || make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dgssapi=false \
+ -Dvapi=true \
+ -Ddoc=true \
+ .. || exit 1
+ ninja || exit 1
+ DESTDIR=$PKG ninja install || exit 1
+cd ..
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la