wok-6.x view usbip/receipt @ rev 19022

Up slitaz-boot-scripts (427), tazpkg (904), tazwok (557)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 11:32:41 2016 +0200 (2016-04-01)
parents fc8c36b33ded
children 0611b115af70
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://usbip.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="usb"
14 DEPENDS="sysfsutils glib libwrap linux-usbip"
15 BUILD_DEPENDS="sysfsutils-dev lzma libtool glib-dev libwrap libwrap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/drivers
21 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
23 cd $src/src
24 ./autogen.sh
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }