wok-current view libusb-compat/receipt @ rev 25707

Fix miss file need for grub2-efi install (kernel.img, modinfo.sh)
author Stanislas Leduc <shann@slitaz.org>
date Thu May 30 20:14:23 2024 +0000 (3 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb-compat"
4 VERSION="0.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compatibility layer to convert libusb 0.1 calls into 1.0 equivalents."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/libusb/libusb-compat-0.1"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/libusb/$PACKAGE-0.1/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="libusb"
15 BUILD_DEPENDS="libusb-dev udev-dev"
17 # Need build without udev-dev, and rebuild with it to avoid loop
19 HOST_ARCH="i486 arm"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }