diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2022-02-13 23:24:35 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2022-02-14 02:59:27 -0600 |
commit | 1d41cd397db5d87029705729de59137033ddb483 (patch) | |
tree | 966658ed250accabf67beb8f780296f184024176 /system/usbredir/usbredir.SlackBuild | |
parent | 6b0e4faecf548fc3c5a61d3f74f4d641f97a6277 (diff) |
system/usbredir: Updated for version 0.12.0.
Diffstat (limited to 'system/usbredir/usbredir.SlackBuild')
-rw-r--r-- | system/usbredir/usbredir.SlackBuild | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/system/usbredir/usbredir.SlackBuild b/system/usbredir/usbredir.SlackBuild index 70cbb33dbc144..34ea44f1e758a 100644 --- a/system/usbredir/usbredir.SlackBuild +++ b/system/usbredir/usbredir.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=usbredir -VERSION=${VERSION:-0.9.0} +VERSION=${VERSION:-0.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,23 +80,21 @@ 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 {} \; -autoreconf -fi - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib$LIBDIRSUFFIX \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-silent-rules \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc + ninja + DESTDIR=$PKG ninja install +cd .. rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la |