wok view usbutils/receipt @ rev 11409

Up: librsvg to 2.34.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 10 21:17:05 2011 +0000 (2011-12-10)
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 }