wok rev 20272

Up usbip (3.16.55)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 18 16:42:58 2018 +0100 (2018-03-18)
parents f078c217decc
children 36656a030ec4
files usbip-dev/receipt usbip/receipt
line diff
     1.1 --- a/usbip-dev/receipt	Sun Mar 18 16:40:42 2018 +0100
     1.2 +++ b/usbip-dev/receipt	Sun Mar 18 16:42:58 2018 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="usbip-dev"
     1.7 -VERSION="0.1.7"
     1.8 +VERSION="3.16.55"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="general USB device sharing system over IP network, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="http://usbip.sourceforge.net/"
    1.14 -WANTED="usbip"
    1.15 +WANTED="linux"
    1.16 +TAGS="usb"
    1.17 +
    1.18 +DEPENDS="usbip udev-dev"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.26 +	cp -a $install/usbip/usr/include $fs/usr
    1.27 +	cp -a $install/usbip/usr/lib/*a $fs/usr/lib
    1.28  }
    1.29 -
     2.1 --- a/usbip/receipt	Sun Mar 18 16:40:42 2018 +0100
     2.2 +++ b/usbip/receipt	Sun Mar 18 16:42:58 2018 +0100
     2.3 @@ -1,39 +1,23 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="usbip"
     2.7 -VERSION="0.1.7"
     2.8 +VERSION="3.16.55"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="general USB device sharing system over IP network."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WEB_SITE="http://usbip.sourceforge.net/"
    2.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 +WANTED="linux"
    2.17  TAGS="usb"
    2.18  
    2.19 -DEPENDS="sysfsutils glib libwrap linux-usbip"
    2.20 -BUILD_DEPENDS="sysfsutils-dev lzma libtool glib-dev libwrap libwrap-dev"
    2.21 -
    2.22 -# Rules to configure and make the package.
    2.23 -compile_rules()
    2.24 -{
    2.25 -	cd $src/drivers
    2.26 -	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    2.27 -
    2.28 -	cd $src/src
    2.29 -	./autogen.sh
    2.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    2.31 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.32 -	make &&
    2.33 -	make DESTDIR=$DESTDIR install
    2.34 -}
    2.35 +DEPENDS="sysfsutils glib libwrap linux-usbip udev"
    2.36  
    2.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.38  genpkg_rules()
    2.39  {
    2.40 -	mkdir -p $fs/usr/lib
    2.41 -	cp -a $install/usr/bin $fs/usr
    2.42 -	cp -a $install/usr/share $fs/usr
    2.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.44 +	mkdir -p $fs/usr/lib $install/usr/share
    2.45 +	cp -a $install/usbip/usr/share/man $install/usr/share
    2.46 +	cp -a $install/usbip/usr/sbin $fs/usr
    2.47 +	cp -a $install/usbip/usr/lib/*.so* $fs/usr/lib
    2.48  }
    2.49