wok-stable view libusb/receipt @ rev 10562
openexr: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 22:38:15 2011 +0200 (2011-05-25) |
parents | 15cbebdedd90 |
children |
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 }