wok-6.x annotate usbredir/receipt @ rev 17552

Update some post_install for install --root
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 30 10:17:37 2015 +0100 (2015-01-30)
parents 16e3615b6d88
children 8dd8bab3f0ca
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@17328 10 WEB_SITE="http://www.spice-space.org/page/UsbRedir"
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 }