wok diff usbip/receipt @ rev 18934

Up slitaz-configs (273)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 27 07:57:39 2016 +0100 (2016-02-27)
parents fc8c36b33ded
children 0611b115af70
line diff
     1.1 --- a/usbip/receipt	Sun Apr 29 10:03:43 2012 +0200
     1.2 +++ b/usbip/receipt	Sat Feb 27 07:57:39 2016 +0100
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="general USB device sharing system over IP network."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9 -DEPENDS="sysfsutils glib libwrap linux-usbip"
    1.10 -BUILD_DEPENDS="sysfsutils-dev lzma libtool glib-dev libwrap libwrap-dev"
    1.11  WEB_SITE="http://usbip.sourceforge.net/"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  TAGS="usb"
    1.14  
    1.15 +DEPENDS="sysfsutils glib libwrap linux-usbip"
    1.16 +BUILD_DEPENDS="sysfsutils-dev lzma libtool glib-dev libwrap libwrap-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -23,15 +25,15 @@
    1.22  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.23  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.24  	make &&
    1.25 -	make DESTDIR=$PWD/../_pkg install
    1.26 +	make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr/lib
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/share $fs/usr
    1.35 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/share $fs/usr
    1.38 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.39  }
    1.40