wok-4.x view sane-backends/receipt @ rev 2479

lame, lbreakout2, libQt*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 15 20:40:56 2009 +0000 (2009-03-15)
parents 52dc4b48ed81
children da5d73a600f3
line source
1 # SliTaz package receipt.
3 PACKAGE="sane-backends"
4 VERSION="1.0.19"
5 CATEGORY="system-tools"
6 SHORT_DESC="Scanner Access Now Easy."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libusb jpeg tiff zlib"
9 BUILD_DEPENDS="libusb-dev libusb"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.sane-project.org/"
12 WGET_URL="ftp://ftp2.sane-project.org/pub/sane/$PACKAGE-$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/etc/sane.d $fs/etc
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/sane $fs/usr/lib
37 cp -a $_pkg/usr/share/sane $fs/usr/share
38 }