wok annotate usbutils/receipt @ rev 19411

pcmanfm: scale wallpaper proportionally to the whole screen
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 24 14:08:29 2016 +0300 (2016-09-24)
parents 9e01bc6321ea
children 86790a278e70
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="usbutils"
pankso@15871 4 VERSION="007"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="Displaying information about USB."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@15871 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
erjo@621 10 WEB_SITE="http://linux-usb.sourceforge.net/"
slaxemulator@11046 11 #WGET_URL="http://www.kernel.org/pub/linux/utils/usb/$PACKAGE/$TARBALL"
slaxemulator@11046 12 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/usb/$PACKAGE/$TARBALL"
pankso@16079 13 HOST_ARCH="i486 arm"
pankso@16079 14
jozee@4974 15 TAGS="usb"
slaxemulator@11044 16 DEPENDS="glibc-base libusb libusb-compat zlib usbids"
slaxemulator@10403 17 BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
slaxemulator@10403 18
erjo@621 19 # Rules to configure and make the package.
erjo@621 20 compile_rules()
erjo@621 21 {
pankso@782 22 ./configure \
pankso@782 23 --prefix=/usr \
slaxemulator@10077 24 --libdir=/usr/lib \
pankso@15871 25 --datadir=/usr/share/misc \
slaxemulator@10077 26 $CONFIGURE_ARGS &&
pankso@9804 27 make && make install
erjo@621 28 }
erjo@621 29
erjo@621 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 31 genpkg_rules()
erjo@621 32 {
slaxemulator@11044 33 mkdir -p $fs/usr
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pascal@15000 35 cp -a $install/usr/sbin $fs/usr
pankso@10400 36 sed -i s'/bash/sh/' $fs/usr/bin/usb-devices
pankso@15871 37 rm -f $fs/usr/bin/lsusb.py
erjo@621 38 }
mojo@11676 39
mojo@11676 40 post_remove()
mojo@11676 41 {
pascal@18730 42 ln -s /bin/busybox "$1/usr/bin/lsusb"
mojo@11676 43 }