wok-next view usbredir/receipt @ rev 20464

Combine receipts (final)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 07 19:43:44 2018 +0200 (2018-03-07)
parents 6d962c98dafd
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="usbredir"
4 VERSION="0.7"
5 CATEGORY="network"
6 SHORT_DESC="A protocol to send usb traffic over a network connection"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://www.spice-space.org/page/UsbRedir"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://spice-space.org/download/usbredir/$TARBALL"
14 BUILD_DEPENDS="pkg-config glib libusb-dev"
15 SPLIT="usbredir-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 usbredir)
28 copy @std
29 DEPENDS="libusb"
30 ;;
31 *-dev)
32 copy @dev
33 ;;
34 esac
35 }