wok-current view usbutils/receipt @ rev 7709

fcitx:add default configure file
author fireflyoo <lufeng369@gmail.com>
date Sun Dec 19 23:26:42 2010 +0800 (2010-12-19)
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 }