wok view usbutils/receipt @ rev 5444

Up dahdi-* (2.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 11:09:57 2010 +0200 (2010-05-05)
parents d0e4b9342f68
children d22c7c0e0bd3
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="0.84"
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 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/misc
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/share/misc/usb.ids.gz $fs/usr/share/misc
33 }