wok-4.x view usbutils/receipt @ rev 6084

Up: pm-utils (1.4.1) HAL independent release)
author Dominique Corbex <domcox@slitaz.org>
date Sun Aug 29 11:43:22 2010 +0200 (2010-08-29)
parents 3115c291f303
children ec628ecabab2
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="0.86"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://linux-usb.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/linux-usb/$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 --datadir=/usr/share/misc \
22 --libdir=/usr/lib \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/misc
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/share/misc/usb.ids.gz $fs/usr/share/misc
34 }