wok annotate usbredir/receipt @ rev 24869

Up zlib (1.2.12) CVE-2018-25032
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 30 20:15:06 2022 +0000 (2022-03-30)
parents ae38b7cf7f01
children
rev   line source
pascal@17328 1 # SliTaz package receipt.
pascal@17328 2
pascal@17328 3 PACKAGE="usbredir"
Hans-G?nter@22090 4 VERSION="0.8.0"
pascal@17328 5 CATEGORY="network"
Hans-G?nter@22090 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"
Hans-G?nter@22090 9 WEB_SITE="https://www.spice-space.org/usbredir.html"
Hans-G?nter@22090 10
pascal@17328 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22090 12 WGET_URL="https://spice-space.org/download/usbredir/$TARBALL"
pascal@17328 13
pascal@17328 14 DEPENDS="libusb"
Hans-G?nter@22090 15 BUILD_DEPENDS="glib libusb-dev pkg-config"
pascal@17328 16
pascal@24462 17 # What is the latest version available today?
pascal@24462 18 current_version()
pascal@24462 19 {
pascal@24462 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24462 22 }
pascal@24462 23
pascal@17328 24 # Rules to configure and make the package.
pascal@17328 25 compile_rules()
pascal@17328 26 {
Hans-G?nter@22090 27 ./configure \
Hans-G?nter@22090 28 --prefix=/usr \
pascal@17328 29 $CONFIGURE_ARGS &&
pascal@17328 30 make &&
pascal@17328 31 make DESTDIR=$DESTDIR install
pascal@17328 32 }
pascal@17328 33
pascal@17328 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17328 35 genpkg_rules()
pascal@17328 36 {
pascal@17328 37 mkdir -p $fs/usr/lib
Hans-G?nter@22090 38
Hans-G?nter@22090 39 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22090 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@17328 41 }