wok-current view libftdi/receipt @ rev 25792
Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
| author | Stanislas Leduc <shann@slitaz.org> | 
|---|---|
| date | Tue Oct 07 05:55:24 2025 +0000 (3 weeks ago) | 
| parents | 1124e71377d3 | 
| children | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="libftdi"
     4 VERSION="0.20"
     5 CATEGORY="system-tools"
     6 SHORT_DESC="A library to talk to FTDI chips using libusb."
     7 MAINTAINER="rcx@zoominternet.net"
     8 LICENSE="BSD GPL2 LGPL2"
     9 WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
    11 TARBALL="$PACKAGE-$VERSION.tar.gz"
    12 WGET_URL="https://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
    14 DEPENDS="glibc-base libusb libusb-compat"
    15 BUILD_DEPENDS="libusb libusb-compat libusb-dev slitaz-toolchain"
    17 HOST_ARCH="i486 x86_64"
    19 # What is the latest version available today?
    20 current_version()
    21 {
    22 	wget -O - https://www.intra2net.com/en/developer/libftdi/download.php 2>/dev/null | \
    23 	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    24 }
    26 # Rules to configure and make the package.
    27 compile_rules()
    28 {
    29 	./configure		\
    30 		--prefix=/usr	\
    31 		$CONFIGURE_ARGS &&
    32 	make &&
    33 	make install DESTDIR=$DESTDIR
    34 }
    36 # Rules to gen a SliTaz package suitable for Tazpkg.
    37 genpkg_rules()
    38 {
    39 	mkdir -p $fs/usr/lib
    41 	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    42 	cp -a $install/usr/bin		$fs/usr
    43 }