libgusb: Upgraded to 0.3.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2018-04-24 20:55:36 +07:00
parent b5618729e5
commit aac6126e53
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgusb PRGNAM=libgusb
VERSION=${VERSION:-0.2.11} VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_csb} TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -71,20 +71,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \ mkdir -p build
CXXFLAGS="$SLKCFLAGS" \ cd build
./configure \ meson setup \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --buildtype=release \
--sysconfdir=/etc \ --libdir=lib${LIBDIRSUFFIX} \
--localstatedir=/var \ --libexecdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \ -Ddocs=true \
--disable-static \ ..
--build=$ARCH-slackware-linux
make ninja
make install DESTDIR=$PKG DESTDIR=$PKG ninja install
cd ..
# Don't ship .la files: # Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la