wok-stable annotate usbip/receipt @ rev 9010
Fixed screen-pam.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 12:35:55 2011 +0000 (2011-03-03) |
parents | 09c53e5c1062 |
children |
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@1489 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@8318 | 9 DEPENDS="sysfsutils glib libwrap linux-usbip" |
slaxemulator@8320 | 10 BUILD_DEPENDS="sysfsutils-dev lzma libtool glib libwrap libwrap-dev" |
pascal@1489 | 11 WEB_SITE="http://usbip.sourceforge.net/" |
pascal@1489 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4974 | 13 TAGS="usb" |
pascal@1489 | 14 |
pascal@1489 | 15 # Rules to configure and make the package. |
pascal@1489 | 16 compile_rules() |
pascal@1489 | 17 { |
pascal@1507 | 18 cd $src/drivers |
slaxemulator@8102 | 19 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
pascal@1507 | 20 |
pascal@1489 | 21 cd $src/src |
pascal@1489 | 22 ./autogen.sh |
pascal@1489 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1490 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1490 | 25 make && |
pascal@1489 | 26 make DESTDIR=$PWD/../_pkg install |
pascal@1489 | 27 } |
pascal@1489 | 28 |
pascal@1489 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1489 | 30 genpkg_rules() |
pascal@1489 | 31 { |
pascal@1489 | 32 mkdir -p $fs/usr/lib |
pascal@1489 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@1489 | 34 cp -a $_pkg/usr/share $fs/usr |
pascal@1489 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1489 | 36 } |
pascal@1489 | 37 |