wok view libusb-compat/receipt @ rev 10513

libmtp: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 15:52:53 2011 +0200 (2011-05-25)
parents 50aa1dfa0942
children 8d6f480bf664
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb-compat"
4 VERSION="0.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://libusb.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/libusb/$TARBALL"
12 DEPENDS="libusb"
13 BUILD_DEPENDS="libusb-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }