wok-current annotate usbredir/receipt @ rev 21714
libatomic: copy libatomic.so from as well
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 09 15:06:40 2019 +0100 (2019-06-09) |
parents | 6d962c98dafd |
children | ae38b7cf7f01 |
rev | line source |
---|---|
pascal@17328 | 1 # SliTaz package receipt. |
pascal@17328 | 2 |
pascal@17328 | 3 PACKAGE="usbredir" |
pascal@17328 | 4 VERSION="0.7" |
pascal@17328 | 5 CATEGORY="network" |
pascal@17328 | 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" |
pascal@17328 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20672 | 10 WEB_SITE="https://www.spice-space.org/usbredir.html" |
pascal@17328 | 11 WGET_URL="http://spice-space.org/download/usbredir/$TARBALL" |
pascal@17328 | 12 |
pascal@17328 | 13 DEPENDS="libusb" |
pascal@17328 | 14 BUILD_DEPENDS="pkg-config glib libusb-dev" |
pascal@17328 | 15 |
pascal@17328 | 16 # Rules to configure and make the package. |
pascal@17328 | 17 compile_rules() |
pascal@17328 | 18 { |
pascal@17328 | 19 ./configure --prefix=/usr \ |
pascal@17328 | 20 $CONFIGURE_ARGS && |
pascal@17328 | 21 make && |
pascal@17328 | 22 make DESTDIR=$DESTDIR install |
pascal@17328 | 23 } |
pascal@17328 | 24 |
pascal@17328 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17328 | 26 genpkg_rules() |
pascal@17328 | 27 { |
pascal@17328 | 28 mkdir -p $fs/usr/lib |
pascal@17330 | 29 cp -a $install/usr/sbin $fs/usr |
pascal@17328 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17328 | 31 } |