wok rev 21331

updated libusb-compat and libusb-compat-dev (0.1.4 -> 0.1.7)
author Hans-G?nter Theisgen
date Fri Apr 19 11:01:25 2019 +0100 (2019-04-19)
parents 655d019e5906
children 094f58ac8183
files libusb-compat-dev/receipt libusb-compat/receipt
line diff
     1.1 --- a/libusb-compat-dev/receipt	Fri Apr 19 12:47:07 2019 +0300
     1.2 +++ b/libusb-compat-dev/receipt	Fri Apr 19 11:01:25 2019 +0100
     1.3 @@ -1,24 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libusb-compat-dev"
     1.7 -VERSION="0.1.4"
     1.8 +VERSION="0.1.7"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="USB access library devel files."
    1.11 +SHORT_DESC="USB access library - development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="https://github.com/libusb/libusb-compat-0.1"
    1.15 +
    1.16  WANTED="libusb-compat"
    1.17 -WEB_SITE="http://libusb.sourceforge.net/"
    1.18 +DEPENDS="libusb-compat pkg-config udev-dev"
    1.19 +
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22 -DEPENDS="libusb-compat pkg-config udev-dev"
    1.23 -
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/lib
    1.28 -	cp -a $install/usr/bin $fs/usr
    1.29 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.30 +
    1.31 +	cp -a $install/usr/bin		$fs/usr
    1.32 +	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.33  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.34 -	cp -a $install/usr/include $fs/usr
    1.35 +	cp -a $install/usr/include	$fs/usr
    1.36  }
    1.37 -
     2.1 --- a/libusb-compat/receipt	Fri Apr 19 12:47:07 2019 +0300
     2.2 +++ b/libusb-compat/receipt	Fri Apr 19 11:01:25 2019 +0100
     2.3 @@ -1,27 +1,28 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libusb-compat"
     2.7 -VERSION="0.1.4"
     2.8 +VERSION="0.1.7"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Compatibility layer to convert libusb 0.1 calls into 1.0 equivalents."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="LGPL2.1"
    2.13 +WEB_SITE="https://github.com/libusb/libusb-compat-0.1"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16 -WEB_SITE="http://libusb.sourceforge.net/"
    2.17 -WGET_URL="$SF_MIRROR/libusb/$TARBALL"
    2.18 -HOST_ARCH="i486 arm"
    2.19 +WGET_URL="https://github.com/libusb/$PACKAGE-0.1/releases/download/v$VERSION/$TARBALL"
    2.20  
    2.21  DEPENDS="libusb"
    2.22  BUILD_DEPENDS="libusb-dev udev-dev"
    2.23  
    2.24 +HOST_ARCH="i486 arm"
    2.25 +
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	cd $src
    2.30 -	./configure \
    2.31 -		--prefix=/usr \
    2.32 +	./configure		\
    2.33 +		--prefix=/usr	\
    2.34  		$CONFIGURE_ARGS &&
    2.35 -	make &&
    2.36 +	make -j 1 &&
    2.37  	make DESTDIR=$DESTDIR install
    2.38  }
    2.39  
    2.40 @@ -31,4 +32,3 @@
    2.41  	mkdir -p $fs/usr/lib
    2.42  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.43  }
    2.44 -