wok view usbip/receipt @ rev 15090

pinentry: add bdeps...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 21:20:52 2013 +0000 (2013-08-13)
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 }