wok-current view libusb/receipt @ rev 24269

updated perl-xml-rss (1.61 -> 1.62)
author Hans-G?nter Theisgen
date Sun Jan 02 10:37:59 2022 +0100 (2022-01-02)
parents 6616b8e3cfe1
children e743728fa1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb"
4 VERSION="1.0.23"
5 CATEGORY="system-tools"
6 SHORT_DESC="USB access library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libusb.info/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="udev"
15 BUILD_DEPENDS="udev-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }