wok-next annotate usbutils/receipt @ rev 10567
claws-mail-attremover: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 23:19:59 2011 +0200 (2011-05-25) |
parents | adf05f8df349 |
children | df0ab0545425 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="usbutils" |
pankso@9804 | 4 VERSION="002" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Displaying information about USB." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pankso@9804 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@621 | 9 WEB_SITE="http://linux-usb.sourceforge.net/" |
slaxemulator@6521 | 10 WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL" |
jozee@4974 | 11 TAGS="usb" |
erjo@621 | 12 |
slaxemulator@10403 | 13 DEPENDS="glibc-base libusb libusb-compat zlib" |
slaxemulator@10403 | 14 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev" |
slaxemulator@10403 | 15 |
erjo@621 | 16 # Rules to configure and make the package. |
erjo@621 | 17 compile_rules() |
erjo@621 | 18 { |
erjo@621 | 19 cd $src |
pankso@782 | 20 ./configure \ |
pankso@782 | 21 --prefix=/usr \ |
slaxemulator@10077 | 22 --libdir=/usr/lib \ |
pankso@10401 | 23 --datadir=/usr/share \ |
slaxemulator@10077 | 24 $CONFIGURE_ARGS && |
pankso@9804 | 25 make && make install |
erjo@621 | 26 } |
erjo@621 | 27 |
erjo@621 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 29 genpkg_rules() |
erjo@621 | 30 { |
rcx@3748 | 31 mkdir -p $fs/usr/share/misc |
pankso@9804 | 32 # We have lsusb in Busybox |
pankso@10400 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@10400 | 34 rm $fs/usr/bin/lsusb* |
erjo@621 | 35 cp -a $_pkg/usr/sbin $fs/usr |
pankso@10401 | 36 cp -a $_pkg/usr/share/usb.ids $fs/usr/share/misc |
pankso@10400 | 37 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices |
erjo@621 | 38 } |