wok rev 24847

updated libusb and libusb-dev (1.0.23 -> 1.0.25)
author Hans-G?nter Theisgen
date Fri Mar 25 14:47:40 2022 +0100 (2022-03-25)
parents 72a3c94f32c8
children c467c00d68dd
files libusb-dev/receipt libusb/description.txt libusb/receipt
line diff
     1.1 --- a/libusb-dev/receipt	Fri Mar 25 14:39:12 2022 +0100
     1.2 +++ b/libusb-dev/receipt	Fri Mar 25 14:47:40 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libusb-dev"
     1.7 -VERSION="1.0.23"
     1.8 +VERSION="1.0.25"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="USB access library - development files."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -16,9 +16,5 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.19 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.20 -	cp -a $install/usr/include		$fs/usr
    1.21 +	get_dev_files
    1.22  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libusb/description.txt	Fri Mar 25 14:47:40 2022 +0100
     2.3 @@ -0,0 +1,12 @@
     2.4 +Libusb is a C library that provides generic access to USB devices.
     2.5 +It is intended to be used by developers to facilitate the production
     2.6 +of applications that communicate with USB hardware.
     2.7 +
     2.8 +It is portable: Using a single cross-platform API, it provides access
     2.9 +to USB devices on Linux, macOS, Windows, etc.
    2.10 +
    2.11 +It is user-mode: No special privilege or elevation is required for the
    2.12 +application to communicate with a device.
    2.13 +
    2.14 +It is version-agnostic: All versions of the USB protocol, from 1.0 to
    2.15 +3.1 (latest), are supported.
     3.1 --- a/libusb/receipt	Fri Mar 25 14:39:12 2022 +0100
     3.2 +++ b/libusb/receipt	Fri Mar 25 14:47:40 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libusb"
     3.7 -VERSION="1.0.23"
     3.8 +VERSION="1.0.25"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="USB access library."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 @@ -11,8 +11,8 @@
    3.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14  WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    3.15  
    3.16 -DEPENDS="udev"
    3.17 -BUILD_DEPENDS="udev-dev"
    3.18 +DEPENDS="gcc83-lib-dev udev"
    3.19 +BUILD_DEPENDS="gcc83 udev-dev"
    3.20  
    3.21  HOST_ARCH="i486 arm"
    3.22  
    3.23 @@ -25,14 +25,16 @@
    3.24  # Rules to configure and make the package.
    3.25  compile_rules()
    3.26  {
    3.27 -	./configure $CONFIGURE_ARGS &&
    3.28 -	make -j 1 &&
    3.29 +	./configure		\
    3.30 +		CC=gcc-83	\
    3.31 +		CXX=g++-83	\
    3.32 +		$CONFIGURE_ARGS &&
    3.33 +	make &&
    3.34  	make install
    3.35  }
    3.36  
    3.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.38  genpkg_rules()
    3.39  {
    3.40 -	mkdir -p $fs/usr/lib
    3.41 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.42 +	cook_copy_files	*.so*
    3.43  }