wok-next view usbutils/receipt @ rev 10371

xorg-libXinerama: too late to commit...
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 03:47:48 2011 +0200 (2011-05-23)
parents fad48b58dd83
children 914578fcb697
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 DEPENDS="glibc-base libusb libusb-compat zlib"
9 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://linux-usb.sourceforge.net/"
12 WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL"
13 TAGS="usb"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --libdir=/usr/lib \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/misc
30 # We have lsusb in Busybox
31 #cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/share/usb.ids.gz $fs/usr/share
34 }