wok-current view usbutils/receipt @ rev 3689

Update: geany (DEPENDS and BUILD_DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Jul 15 14:24:49 2009 +0000 (2009-07-15)
parents 27a68753fff8
children 5b1a7cc13ca0
line source
1 # SliTaz package receipt.
3 PACKAGE="usbutils"
4 VERSION="0.81"
5 CATEGORY="system-tools"
6 SHORT_DESC="Displaying information about USB."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libusb zlib"
9 BUILD_DEPENDS="libusb-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://linux-usb.sourceforge.net/"
12 WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/linux-usb/$TARBALL
13 http://surfnet.dl.sourceforge.net/sourceforge/linux-usb/$TARBALL"
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 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/share/misc $fs/usr/share
33 # Compress IDS db.
34 gzip $fs/usr/share/misc/usb.ids
35 }