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