wok-4.x view usbutils/receipt @ rev 10454
samba: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:07:10 2011 +0200 (2011-05-25) |
parents | adf05f8df349 |
children | df0ab0545425 |
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"
13 DEPENDS="glibc-base libusb libusb-compat zlib"
14 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --libdir=/usr/lib \
23 --datadir=/usr/share \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/misc
32 # We have lsusb in Busybox
33 cp -a $_pkg/usr/bin $fs/usr
34 rm $fs/usr/bin/lsusb*
35 cp -a $_pkg/usr/sbin $fs/usr
36 cp -a $_pkg/usr/share/usb.ids $fs/usr/share/misc
37 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
38 }