wok-current view libusb/receipt @ rev 13272

get-wfica: update (thanks Carl)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 22 18:21:21 2012 +0200 (2012-08-22)
parents 15cbebdedd90
children 8d6f480bf664
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb"
4 VERSION="1.0.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="USB accedd library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://libusb.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 }