wok-current view usbutils/receipt @ rev 9963
dahdi-tools: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 15:55:36 2011 +0200 (2011-05-18) |
parents | 60a842e740cf |
children | e5512b0c965a |
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 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/misc
29 # We have lsusb in Busybox
30 #cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/share/usb.ids.gz $fs/usr/share
33 }