wok-next view usbutils/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="usbutils"
4 VERSION="009"
5 CATEGORY="system-tools"
6 SHORT_DESC="Displaying information about USB"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://linux-usb.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/usbutils.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/linux/utils/usb/usbutils/$TARBALL"
15 BUILD_DEPENDS="libusb-dev zlib-dev"
16 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --datadir=/usr/share/hwdata \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 *-python)
29 copy *.py
30 DEPENDS="python usbids"
31 CAT="lsusb for Python"
32 ;;
33 usbutils)
34 copy @std @rm
35 DEPENDS="eudev libusb usbids"
36 TAGS="usb"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }