wok-current view usbutils/receipt @ rev 11442
up: wireshark 1.6.4 (thanks godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Dec 16 15:42:01 2011 +0100 (2011-12-16) |
parents | 7ce14414626f |
children | fd59449e3608 |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="004"
5 CATEGORY="system-tools"
6 SHORT_DESC="Displaying information about USB."
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://linux-usb.sourceforge.net/"
10 #WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL"
11 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/usb/$PACKAGE/$TARBALL"
12 TAGS="usb"
13 BUGS="usb.ids is not gziped and in /usr/share since it's where udev look for it"
15 DEPENDS="glibc-base libusb libusb-compat zlib usbids"
16 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --libdir=/usr/lib \
25 --datadir=/usr/share \
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 # We have lsusb in Busybox
35 cp -a $_pkg/usr/bin $fs/usr
36 rm $fs/usr/bin/lsusb*
37 cp -a $_pkg/usr/sbin $fs/usr
38 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
39 }