wok-next view usbip/receipt @ rev 18510

xmlto: add all required format files to the package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 23 23:34:03 2015 +0300 (2015-10-23)
parents fc8c36b33ded
children c5439f74a6c6
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 }