From aac6126e531dd5f383ca42a09ba34e4538423834 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 24 Apr 2018 20:55:36 +0700 Subject: [PATCH] libgusb: Upgraded to 0.3.0. Signed-off-by: Willy Sudiarto Raharjo --- libgusb/libgusb.SlackBuild | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libgusb/libgusb.SlackBuild b/libgusb/libgusb.SlackBuild index 0e2c7f0..1ef179d 100644 --- a/libgusb/libgusb.SlackBuild +++ b/libgusb/libgusb.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libgusb -VERSION=${VERSION:-0.2.11} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.3.0} +BUILD=${BUILD:-1} TAG=${TAG:-_csb} if [ -z "$ARCH" ]; then @@ -71,20 +71,20 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ +mkdir -p build +cd build +meson setup \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ + --buildtype=release \ + --libdir=lib${LIBDIRSUFFIX} \ + --libexecdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --build=$ARCH-slackware-linux + -Ddocs=true \ + .. -make -make install DESTDIR=$PKG + ninja + DESTDIR=$PKG ninja install +cd .. # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la