wok-6.x view usbutils/receipt @ rev 21579
updated python-gevent (0.13.8 -> 1.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 19 16:11:22 2019 +0100 (2019-05-19) |
parents | d6ca18366f41 |
children | 3105f866bc3e |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="007"
5 CATEGORY="system-tools"
6 SHORT_DESC="Displaying information about USB."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://linux-usb.sourceforge.net/"
11 #WGET_URL="https://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL"
12 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/usb/$PACKAGE/$TARBALL"
13 HOST_ARCH="i486 arm"
15 TAGS="usb"
16 DEPENDS="glibc-base libusb libusb-compat zlib usbids"
17 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --libdir=/usr/lib \
25 --datadir=/usr/share/misc \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
37 rm -f $fs/usr/bin/lsusb.py
38 }
40 post_remove()
41 {
42 ln -s /bin/busybox "$1/usr/bin/lsusb"
43 }