wok-6.x view libusb/receipt @ rev 7855

Backed out changeset 5f442d2d2ab4
author Liu Peng <rocky@slitaz.org>
date Fri Dec 31 08:51:37 2010 +0000 (2010-12-31)
parents 17598fb91957
children 50aa1dfa0942
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 DEPENDS="libusb-compat"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libusb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }