wok-next annotate 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
rev   line source
al@20464 1 # SliTaz package receipt v2.
pascal@17328 2
pascal@17328 3 PACKAGE="usbredir"
pascal@17328 4 VERSION="0.7"
pascal@17328 5 CATEGORY="network"
al@20464 6 SHORT_DESC="A protocol to send usb traffic over a network connection"
pascal@17328 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17328 8 LICENSE="GPL2 LGPL2.1"
al@20464 9 WEB_SITE="http://www.spice-space.org/page/UsbRedir"
al@20464 10
pascal@17328 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@17328 12 WGET_URL="http://spice-space.org/download/usbredir/$TARBALL"
pascal@17328 13
pascal@17328 14 BUILD_DEPENDS="pkg-config glib libusb-dev"
al@20464 15 SPLIT="usbredir-dev"
pascal@17328 16
al@20464 17 compile_rules() {
al@20464 18 ./configure \
al@20464 19 --prefix=/usr \
pascal@17328 20 $CONFIGURE_ARGS &&
pascal@17328 21 make &&
pascal@17328 22 make DESTDIR=$DESTDIR install
pascal@17328 23 }
pascal@17328 24
al@20464 25 genpkg_rules() {
al@20464 26 case $PACKAGE in
al@20464 27 usbredir)
al@20464 28 copy @std
al@20464 29 DEPENDS="libusb"
al@20464 30 ;;
al@20464 31 *-dev)
al@20464 32 copy @dev
al@20464 33 ;;
al@20464 34 esac
pascal@17328 35 }