wok-current view usbutils/receipt @ rev 4255
wesnoth: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 09:46:28 2009 +0200 (2009-09-25) |
parents | 5b1a7cc13ca0 |
children | 3115c291f303 |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="0.84"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://linux-usb.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/linux-usb/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --datadir=/usr/share/misc \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/misc
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/share/misc/usb.ids.gz $fs/usr/share/misc
32 }