wok-next annotate usbip/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | c5439f74a6c6 |
children |
rev | line source |
---|---|
al@20333 | 1 # SliTaz package receipt v2. |
pascal@1489 | 2 |
pascal@1489 | 3 PACKAGE="usbip" |
pascal@2065 | 4 VERSION="0.1.7" |
pascal@1489 | 5 CATEGORY="system-tools" |
al@20333 | 6 SHORT_DESC="General USB device sharing system over IP network" |
pascal@1489 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20333 | 9 WEB_SITE="http://usbip.sourceforge.net/" |
al@20333 | 10 |
pascal@1489 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1489 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1489 | 13 |
al@20333 | 14 BUILD_DEPENDS="automake libtool sysfsutils-dev libwrap-dev glib-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@15000 | 16 |
al@20333 | 17 # From usbip web site: http://usbip.sourceforge.net/#download |
al@20333 | 18 # |
al@20333 | 19 # For Linux, the source code of usbip was merged into the staging tree, and |
al@20333 | 20 # finally has been moved to the mainline since Linux-3.17. Development is |
al@20333 | 21 # ongoing in the kernel community, not here. Linux distributions will provide |
al@20333 | 22 # binary packages of usbip. Just for historical records, the project page keeps |
al@20333 | 23 # old download files of the Linux version. Do not use them. |
al@20333 | 24 # |
al@20333 | 25 # ? |
al@20333 | 26 |
al@20333 | 27 compile_rules() { |
al@20333 | 28 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g') |
pascal@1507 | 29 |
pascal@1489 | 30 cd $src/src |
al@20333 | 31 ./autogen.sh && |
al@21020 | 32 ./configure $CONFIGURE_ARGS && |
al@21020 | 33 make && |
al@21020 | 34 make install |
pascal@1489 | 35 } |
pascal@1489 | 36 |
al@20333 | 37 genpkg_rules() { |
al@20333 | 38 case $PACKAGE in |
al@20333 | 39 usbip) |
al@20333 | 40 copy @std |
al@20333 | 41 DEPENDS="glib libwrap pcre sysfsutils linux-usbip" |
al@20333 | 42 TAGS="usb" |
al@20333 | 43 ;; |
al@20333 | 44 *-dev) |
al@20333 | 45 copy @dev |
al@20333 | 46 DEPENDS="usbip libwrap-dev sysfsutils-dev" |
al@20333 | 47 ;; |
al@20333 | 48 esac |
pascal@1489 | 49 } |