wok-next annotate usbip/receipt @ rev 20607
perdition: up 2.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 15:57:59 2018 +0300 (2018-04-19) |
parents | 380ffe05937a |
children | d5aab818505e |
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@20333 | 15 SPLIT="usbip-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@20333 | 32 ./configure $CONFIGURE_ARGS && make && make install |
pascal@1489 | 33 } |
pascal@1489 | 34 |
al@20333 | 35 genpkg_rules() { |
al@20333 | 36 case $PACKAGE in |
al@20333 | 37 usbip) |
al@20333 | 38 copy @std |
al@20333 | 39 DEPENDS="glib libwrap pcre sysfsutils linux-usbip" |
al@20333 | 40 TAGS="usb" |
al@20333 | 41 ;; |
al@20333 | 42 *-dev) |
al@20333 | 43 copy @dev |
al@20333 | 44 DEPENDS="usbip libwrap-dev sysfsutils-dev" |
al@20333 | 45 ;; |
al@20333 | 46 esac |
pascal@1489 | 47 } |