wok-6.x view libusb/receipt @ rev 23725

hplip: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 30 16:01:51 2020 +0000 (2020-04-30)
parents 82030d5e8b0a
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }