wok view libusb/receipt @ rev 2864

Up: libusb (1.0.0)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 02 11:34:00 2009 +0200 (2009-05-02)
parents 817963b0bca0
children 17598fb91957
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb"
4 VERSION="1.0.0"
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 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }