wok-next annotate usbutils/receipt @ rev 20651
Add grub2-efi-modules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 04 11:17:26 2018 +0200 (2018-05-04) |
parents | d43bf7aae921 |
children | f48456621a9d |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="usbutils" |
al@20647 | 4 VERSION="009" |
erjo@621 | 5 CATEGORY="system-tools" |
al@20464 | 6 SHORT_DESC="Displaying information about USB" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20464 | 9 WEB_SITE="http://linux-usb.sourceforge.net/" |
al@20647 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/usbutils.html" |
al@20464 | 11 |
pankso@15871 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20647 | 13 WGET_URL="https://www.kernel.org/pub/linux/utils/usb/usbutils/$TARBALL" |
pankso@16079 | 14 |
al@20513 | 15 BUILD_DEPENDS="libusb-dev zlib-dev" |
al@20464 | 16 SPLIT="usbutils-dev" |
slaxemulator@10403 | 17 |
al@20464 | 18 compile_rules() { |
pankso@782 | 19 ./configure \ |
al@20647 | 20 --datadir=/usr/share/hwdata \ |
slaxemulator@10077 | 21 $CONFIGURE_ARGS && |
al@20647 | 22 make && |
al@20647 | 23 make install |
erjo@621 | 24 } |
erjo@621 | 25 |
al@20464 | 26 genpkg_rules() { |
al@20464 | 27 case $PACKAGE in |
al@20464 | 28 usbutils) |
al@20647 | 29 copy @std |
al@20647 | 30 find $fs -name '*.py' -delete |
al@20647 | 31 DEPENDS="eudev libusb usbids" |
al@20464 | 32 TAGS="usb" |
al@20464 | 33 ;; |
al@20464 | 34 *-dev) |
al@20647 | 35 copy @dev |
al@20464 | 36 ;; |
al@20464 | 37 esac |
erjo@621 | 38 } |