wok rev 24790

updated libftdi and libftdi-dev (0.18 -> 0.20)
author Hans-G?nter Theisgen
date Mon Mar 21 13:58:19 2022 +0100 (2022-03-21)
parents 8b5c3df6e968
children 7f622f432a63
files libftdi-dev/receipt libftdi/description.txt libftdi/receipt
line diff
     1.1 --- a/libftdi-dev/receipt	Mon Mar 21 09:36:52 2022 +0000
     1.2 +++ b/libftdi-dev/receipt	Mon Mar 21 13:58:19 2022 +0100
     1.3 @@ -1,21 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libftdi-dev"
     1.7 -VERSION="0.18"
     1.8 +VERSION="0.20"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="libftdi devel files."
    1.11 +SHORT_DESC="Libftdi development files."
    1.12  MAINTAINER="rcx@zoominternet.net"
    1.13  LICENSE="BSD GPL2 LGPL2"
    1.14  WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
    1.15 +
    1.16 +DEPENDS="libftdi pkg-config"
    1.17  WANTED="libftdi"
    1.18  
    1.19 -DEPENDS="pkg-config libftdi"
    1.20 -
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -	cp -a $install/usr/include $fs/usr
    1.28 +	get_dev_files
    1.29  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libftdi/description.txt	Mon Mar 21 13:58:19 2022 +0100
     2.3 @@ -0,0 +1,10 @@
     2.4 +libFTDI is an open source library to talk to FTDI chips:
     2.5 +
     2.6 +    FT230X
     2.7 +    FT4232H / FT2232H
     2.8 +    FT232R / FT245R
     2.9 +    FT2232L / FT2232D / FT2232C
    2.10 +    FT232BM / FT245BM (and the BL/BQ variants)
    2.11 +    FT8U232AM / FT8U245AM
    2.12 +
    2.13 +The library is linked with your program in userspace, no kernel driver required.
     3.1 --- a/libftdi/receipt	Mon Mar 21 09:36:52 2022 +0000
     3.2 +++ b/libftdi/receipt	Mon Mar 21 13:58:19 2022 +0100
     3.3 @@ -1,17 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libftdi"
     3.7 -VERSION="0.18"
     3.8 +VERSION="0.20"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="A library to talk to FTDI chips using libusb."
    3.11  MAINTAINER="rcx@zoominternet.net"
    3.12  LICENSE="BSD GPL2 LGPL2"
    3.13 +WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
    3.14 +
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
    3.17  WGET_URL="https://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
    3.18  
    3.19 -DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
    3.20 -BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat"
    3.21 +DEPENDS="glibc-base libusb libusb-compat"
    3.22 +BUILD_DEPENDS="libusb libusb-compat libusb-dev slitaz-toolchain"
    3.23  
    3.24  # What is the latest version available today?
    3.25  current_version()
    3.26 @@ -23,18 +24,18 @@
    3.27  # Rules to configure and make the package.
    3.28  compile_rules()
    3.29  {
    3.30 -	cd $src
    3.31 -	./configure \
    3.32 -		--prefix=/usr \
    3.33 +	./configure		\
    3.34 +		--prefix=/usr	\
    3.35  		$CONFIGURE_ARGS &&
    3.36  	make &&
    3.37 -	make DESTDIR=$DESTDIR install
    3.38 +	make install DESTDIR=$DESTDIR
    3.39  }
    3.40  
    3.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.42  genpkg_rules()
    3.43  {
    3.44  	mkdir -p $fs/usr/lib
    3.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.46 -	cp -a $install/usr/bin $fs/usr
    3.47 +
    3.48 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.49 +	cp -a $install/usr/bin		$fs/usr
    3.50  }