wok-6.x view usbutils/receipt @ rev 7957

Up: mlt-python-bindings to 0.6.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jan 15 17:23:12 2011 +0000 (2011-01-15)
parents ec628ecabab2
children fad48b58dd83
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="0.91"
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.gz"
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 --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 }