wok view usbutils/receipt @ rev 7162
Up: glew to 1.5.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 02:25:09 2010 +0000 (2010-11-07) |
parents | d22c7c0e0bd3 |
children | 60a842e740cf |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="0.90"
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 }