wok-current view usbutils/receipt @ rev 11016

Up: squirrelmail to 1.4.22.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 10:45:54 2011 +0000 (2011-10-13)
parents 87dcc4995f4d
children 7ce14414626f
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"
12 BUGS="usb.ids is not gziped and in /usr/share since it's wher udev look for it"
14 DEPENDS="glibc-base libusb libusb-compat zlib"
15 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --libdir=/usr/lib \
24 --datadir=/usr/share \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 # We have lsusb in Busybox
34 cp -a $_pkg/usr/bin $fs/usr
35 rm $fs/usr/bin/lsusb*
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/share/usb.ids $fs/usr/share
38 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
39 }