wok-6.x annotate usbutils/receipt @ rev 10169
Up: perl-gtk2 to 1.222.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 21:47:51 2011 +0000 (2011-05-20) |
parents | fad48b58dd83 |
children | 914578fcb697 |
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" |
rcx@3749 | 8 DEPENDS="glibc-base libusb libusb-compat zlib" |
slaxemulator@6521 | 9 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev" |
pankso@9804 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@621 | 11 WEB_SITE="http://linux-usb.sourceforge.net/" |
slaxemulator@6521 | 12 WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL" |
jozee@4974 | 13 TAGS="usb" |
erjo@621 | 14 |
erjo@621 | 15 # Rules to configure and make the package. |
erjo@621 | 16 compile_rules() |
erjo@621 | 17 { |
erjo@621 | 18 cd $src |
pankso@782 | 19 ./configure \ |
pankso@782 | 20 --prefix=/usr \ |
slaxemulator@10077 | 21 --libdir=/usr/lib \ |
slaxemulator@10077 | 22 $CONFIGURE_ARGS && |
pankso@9804 | 23 make && make install |
erjo@621 | 24 } |
erjo@621 | 25 |
erjo@621 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 27 genpkg_rules() |
erjo@621 | 28 { |
rcx@3748 | 29 mkdir -p $fs/usr/share/misc |
pankso@9804 | 30 # We have lsusb in Busybox |
pankso@9804 | 31 #cp -a $_pkg/usr/bin $fs/usr |
erjo@621 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pankso@9804 | 33 cp -a $_pkg/usr/share/usb.ids.gz $fs/usr/share |
erjo@621 | 34 } |