wok-next view usbutils/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 1ff723a6455b
children d5aab818505e
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="erjo@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="usbutils-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 usbutils)
29 copy @std
30 find $fs -name '*.py' -delete
31 DEPENDS="eudev libusb usbids"
32 TAGS="usb"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }