wok annotate usbip/receipt @ rev 17521

busybox: 2015
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 17 12:02:13 2015 +0100 (2015-01-17)
parents fc8c36b33ded
children 0611b115af70
rev   line source
pascal@1489 1 # SliTaz package receipt.
pascal@1489 2
pascal@1489 3 PACKAGE="usbip"
pascal@2065 4 VERSION="0.1.7"
pascal@1489 5 CATEGORY="system-tools"
pascal@1489 6 SHORT_DESC="general USB device sharing system over IP network."
pascal@1489 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@1489 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1489 10 WEB_SITE="http://usbip.sourceforge.net/"
pascal@1489 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4974 12 TAGS="usb"
pascal@1489 13
pascal@15000 14 DEPENDS="sysfsutils glib libwrap linux-usbip"
pascal@15000 15 BUILD_DEPENDS="sysfsutils-dev lzma libtool glib-dev libwrap libwrap-dev"
pascal@15000 16
pascal@1489 17 # Rules to configure and make the package.
pascal@1489 18 compile_rules()
pascal@1489 19 {
pascal@1507 20 cd $src/drivers
slaxemulator@8102 21 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
pascal@1507 22
pascal@1489 23 cd $src/src
pascal@1489 24 ./autogen.sh
pascal@1489 25 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1490 26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1490 27 make &&
pascal@15000 28 make DESTDIR=$DESTDIR install
pascal@1489 29 }
pascal@1489 30
pascal@1489 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1489 32 genpkg_rules()
pascal@1489 33 {
pascal@1489 34 mkdir -p $fs/usr/lib
pascal@15000 35 cp -a $install/usr/bin $fs/usr
pascal@15000 36 cp -a $install/usr/share $fs/usr
pascal@15000 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1489 38 }
pascal@1489 39