From 02df087c4b8f24d50f217959edd84963958f64ea Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 21 Oct 2020 21:51:26 +0000 Subject: Wed Oct 21 21:51:26 UTC 2020 ap/nvme-cli-1.13-x86_64-1.txz: Upgraded. l/libnice-0.1.18-x86_64-1.txz: Upgraded. x/fonttosfnt-1.2.0-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-78.4.0-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/78.4.0/releasenotes/ --- source/l/libnice/libnice.SlackBuild | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'source/l/libnice/libnice.SlackBuild') diff --git a/source/l/libnice/libnice.SlackBuild b/source/l/libnice/libnice.SlackBuild index 696287bd9..253ae9793 100755 --- a/source/l/libnice/libnice.SlackBuild +++ b/source/l/libnice/libnice.SlackBuild @@ -86,23 +86,26 @@ find . \ -exec chmod 644 {} \+ # Configure, build, and install: -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ +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 \ - --docdir=/usr/doc/$PKGNAM-$VERSION \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --disable-static \ - --build=$ARCH-slackware-linux || exit 1 -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -# Don't ship .la files: -rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + --buildtype=release \ + .. || exit 1 + "${NINJA:=ninja}" $NUMJOBS || exit 1 + DESTDIR=$PKG $NINJA install || exit 1 +cd .. # Strip binaries: find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -- cgit v1.2.3