wok diff libftdi/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents ede1d184d5c5
children
line diff
     1.1 --- a/libftdi/receipt	Mon Feb 14 17:51:14 2022 +0000
     1.2 +++ b/libftdi/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libftdi"
     1.7 -VERSION="0.18"
     1.8 +VERSION="0.20"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="A library to talk to FTDI chips using libusb."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12  LICENSE="BSD GPL2 LGPL2"
    1.13 +WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
    1.17  WGET_URL="https://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
    1.18  
    1.19 -DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
    1.20 -BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat"
    1.21 +DEPENDS="glibc-base libusb libusb-compat"
    1.22 +BUILD_DEPENDS="libusb libusb-compat libusb-dev slitaz-toolchain"
    1.23  
    1.24  # What is the latest version available today?
    1.25  current_version()
    1.26 @@ -23,18 +24,18 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	./configure \
    1.32 -		--prefix=/usr \
    1.33 +	./configure		\
    1.34 +		--prefix=/usr	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make install DESTDIR=$DESTDIR
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/lib
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 +
    1.48 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.49 +	cp -a $install/usr/bin		$fs/usr
    1.50  }