wok view usbip/receipt @ rev 8318

Fixed usbip not to compile linux. Also no need to compile usbip kernel module since its compile with kernel now.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 01 03:41:08 2011 +0000 (2011-02-01)
parents 79fe602a6d4b
children db8d0c9765c8
line source
1 # SliTaz package receipt.
3 PACKAGE="usbip"
4 VERSION="0.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="general USB device sharing system over IP network."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="sysfsutils glib libwrap linux-usbip"
10 BUILD_DEPENDS="sysfsutils-dev lzma libtool glib linux-module-headers libwrap libwrap-dev"
11 WEB_SITE="http://usbip.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="usb"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/drivers
19 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
21 cd $src/src
22 ./autogen.sh
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/../_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }