wok-6.x annotate usbip/receipt @ rev 1490
lxlauncher: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 12:01:39 2008 +0000 (2008-10-05) |
parents | cdbeff43eaea |
children | 86896ca215ac |
rev | line source |
---|---|
pascal@1489 | 1 # SliTaz package receipt. |
pascal@1489 | 2 |
pascal@1489 | 3 PACKAGE="usbip" |
pascal@1489 | 4 VERSION="0.1.6" |
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" |
pascal@1489 | 9 DEPENDS="sysfsutils" |
pascal@1489 | 10 BUILD_DEPENDS="sysfsutils-dev" |
pascal@1489 | 11 WEB_SITE="http://usbip.sourceforge.net/" |
pascal@1489 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1489 | 13 |
pascal@1489 | 14 # Rules to configure and make the package. |
pascal@1489 | 15 compile_rules() |
pascal@1489 | 16 { |
pascal@1489 | 17 cd $src/src |
pascal@1489 | 18 ./autogen.sh |
pascal@1489 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1490 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1490 | 21 make && |
pascal@1489 | 22 make DESTDIR=$PWD/../_pkg install |
pascal@1489 | 23 } |
pascal@1489 | 24 |
pascal@1489 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1489 | 26 genpkg_rules() |
pascal@1489 | 27 { |
pascal@1489 | 28 mkdir -p $fs/usr/lib |
pascal@1489 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1489 | 30 cp -a $_pkg/usr/share $fs/usr |
pascal@1489 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1489 | 32 } |
pascal@1489 | 33 |