wok annotate libusb/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (10 months ago)
parents acc00027162c
children
rev   line source
pankso@640 1 # SliTaz package receipt.
pankso@640 2
pankso@640 3 PACKAGE="libusb"
Hans-G?nter@24847 4 VERSION="1.0.25"
pankso@640 5 CATEGORY="system-tools"
pascal@19991 6 SHORT_DESC="USB access library."
pankso@640 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="LGPL2.1"
Hans-G?nter@21329 9 WEB_SITE="https://libusb.info/"
Hans-G?nter@21329 10
pankso@2864 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@23117 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pankso@640 13
Hans-G?nter@24896 14 DEPENDS="gcc83-lib-base udev"
Hans-G?nter@24847 15 BUILD_DEPENDS="gcc83 udev-dev"
pascal@16365 16
Hans-G?nter@21329 17 HOST_ARCH="i486 arm"
Hans-G?nter@21329 18
pascal@25600 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25600 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 24 }
pascal@24055 25
pankso@640 26 # Rules to configure and make the package.
pankso@640 27 compile_rules()
pankso@640 28 {
Hans-G?nter@24847 29 ./configure \
Hans-G?nter@24847 30 CC=gcc-83 \
Hans-G?nter@24847 31 CXX=g++-83 \
Hans-G?nter@24847 32 $CONFIGURE_ARGS &&
Hans-G?nter@24847 33 make &&
Hans-G?nter@21329 34 make install
pankso@640 35 }
pankso@640 36
pankso@640 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@640 38 genpkg_rules()
pankso@640 39 {
Hans-G?nter@24847 40 cook_copy_files *.so*
pankso@640 41 }