# HG changeset patch # User Hans-G?nter Theisgen # Date 1648216060 -3600 # Node ID e743728fa1e7bd5044e7b82d1805ac123eff00b0 # Parent 72a3c94f32c8df4457de0330fcfc3604bdf0c2d2 updated libusb and libusb-dev (1.0.23 -> 1.0.25) diff -r 72a3c94f32c8 -r e743728fa1e7 libusb-dev/receipt --- a/libusb-dev/receipt Fri Mar 25 14:39:12 2022 +0100 +++ b/libusb-dev/receipt Fri Mar 25 14:47:40 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libusb-dev" -VERSION="1.0.23" +VERSION="1.0.25" CATEGORY="development" SHORT_DESC="USB access library - development files." MAINTAINER="pankso@slitaz.org" @@ -16,9 +16,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr + get_dev_files } diff -r 72a3c94f32c8 -r e743728fa1e7 libusb/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libusb/description.txt Fri Mar 25 14:47:40 2022 +0100 @@ -0,0 +1,12 @@ +Libusb is a C library that provides generic access to USB devices. +It is intended to be used by developers to facilitate the production +of applications that communicate with USB hardware. + +It is portable: Using a single cross-platform API, it provides access +to USB devices on Linux, macOS, Windows, etc. + +It is user-mode: No special privilege or elevation is required for the +application to communicate with a device. + +It is version-agnostic: All versions of the USB protocol, from 1.0 to +3.1 (latest), are supported. diff -r 72a3c94f32c8 -r e743728fa1e7 libusb/receipt --- a/libusb/receipt Fri Mar 25 14:39:12 2022 +0100 +++ b/libusb/receipt Fri Mar 25 14:47:40 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libusb" -VERSION="1.0.23" +VERSION="1.0.25" CATEGORY="system-tools" SHORT_DESC="USB access library." MAINTAINER="pankso@slitaz.org" @@ -11,8 +11,8 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" -DEPENDS="udev" -BUILD_DEPENDS="udev-dev" +DEPENDS="gcc83-lib-dev udev" +BUILD_DEPENDS="gcc83 udev-dev" HOST_ARCH="i486 arm" @@ -25,14 +25,16 @@ # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS && - make -j 1 && + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + $CONFIGURE_ARGS && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }