wok-current annotate libusb/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (2 weeks ago) |
parents | a23978bfa665 |
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 |
shann@25582 | 14 DEPENDS="gcc-lib-base udev" |
shann@25582 | 15 BUILD_DEPENDS="gcc udev-dev" |
pascal@16365 | 16 |
shann@25629 | 17 # Need first build without udev, and rebuild with it |
shann@25629 | 18 |
shann@25728 | 19 HOST_ARCH="i486 arm x86_64" |
Hans-G?nter@21329 | 20 |
pascal@24055 | 21 current_version() |
pascal@24055 | 22 { |
pascal@24055 | 23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 25 } |
pascal@24055 | 26 |
pankso@640 | 27 # Rules to configure and make the package. |
pankso@640 | 28 compile_rules() |
pankso@640 | 29 { |
shann@25629 | 30 # Need build first with --disable-udev |
shann@25629 | 31 # to avoid loop dep |
shann@25629 | 32 |
Hans-G?nter@24847 | 33 ./configure \ |
shann@25582 | 34 CC=gcc \ |
shann@25582 | 35 CXX=g++ \ |
Hans-G?nter@24847 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@24847 | 37 make && |
Hans-G?nter@21329 | 38 make install |
pankso@640 | 39 } |
pankso@640 | 40 |
pankso@640 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@640 | 42 genpkg_rules() |
pankso@640 | 43 { |
Hans-G?nter@24847 | 44 cook_copy_files *.so* |
pankso@640 | 45 } |