wok-6.x view usbutils/receipt @ rev 10837

Add libmatchbox (Match may be used for kids or small device desktop)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:20:29 2011 +0200 (2011-06-08)
parents 87dcc4995f4d
children 7ce14414626f
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="002"
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 TAGS="usb"
12 BUGS="usb.ids is not gziped and in /usr/share since it's wher udev look for it"
14 DEPENDS="glibc-base libusb libusb-compat zlib"
15 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --libdir=/usr/lib \
24 --datadir=/usr/share \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 # We have lsusb in Busybox
34 cp -a $_pkg/usr/bin $fs/usr
35 rm $fs/usr/bin/lsusb*
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/share/usb.ids $fs/usr/share
38 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
39 }