wok-next view usbip/receipt @ rev 21271
up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 07 12:21:21 2019 +0000 (2019-12-07) |
parents | c5439f74a6c6 |
children |
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="$PACKAGE-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 &&
33 make &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 usbip)
40 copy @std
41 DEPENDS="glib libwrap pcre sysfsutils linux-usbip"
42 TAGS="usb"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="usbip libwrap-dev sysfsutils-dev"
47 ;;
48 esac
49 }