wok-stable annotate sane-backends/receipt @ rev 1133
Receipt for feh - Image viewer and composer
Receipt for giblib - Graphic library, Imlib2 wrapper. Requested by feh.
Receipt for giblib - Giblib development files. Requested to build feh.
Receipt for giblib - Graphic library, Imlib2 wrapper. Requested by feh.
Receipt for giblib - Giblib development files. Requested to build feh.
author | Mallory MOLLO <mallory@sweetpeople.org> |
---|---|
date | Thu Jul 24 00:38:56 2008 +0200 (2008-07-24) |
parents | |
children | 52dc4b48ed81 |
rev | line source |
---|---|
pankso@648 | 1 # SliTaz package receipt. |
pankso@648 | 2 |
pankso@648 | 3 PACKAGE="sane-backends" |
pankso@648 | 4 VERSION="1.0.19" |
pankso@648 | 5 CATEGORY="system-tools" |
pankso@648 | 6 SHORT_DESC="Scanner Access Now Easy." |
pankso@648 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@648 | 8 DEPENDS="libusb" |
pankso@648 | 9 BUILD_DEPENDS="libusb-dev" |
pankso@648 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@648 | 11 WEB_SITE="http://www.sane-project.org/" |
pankso@648 | 12 WGET_URL="ftp://ftp2.sane-project.org/pub/sane/$PACKAGE-$VERSION/$TARBALL" |
pankso@648 | 13 |
pankso@648 | 14 # Rules to configure and make the package. |
pankso@648 | 15 compile_rules() |
pankso@648 | 16 { |
pankso@648 | 17 cd $src |
pankso@648 | 18 ./configure \ |
pankso@648 | 19 --prefix=/usr \ |
pankso@648 | 20 --sysconfdir=/etc \ |
pankso@648 | 21 --mandir=/usr/share/man \ |
pankso@648 | 22 $CONFIGURE_ARGS |
pankso@648 | 23 make |
pankso@648 | 24 make DESTDIR=$PWD/_pkg install |
pankso@648 | 25 } |
pankso@648 | 26 |
pankso@648 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@648 | 28 genpkg_rules() |
pankso@648 | 29 { |
pankso@648 | 30 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share |
pankso@648 | 31 |
pankso@648 | 32 cp -a $_pkg/etc/sane.d $fs/etc |
pankso@648 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@648 | 34 cp -a $_pkg/usr/sbin $fs/usr |
pankso@648 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@648 | 36 cp -a $_pkg/usr/lib/sane $fs/usr/lib |
pankso@648 | 37 cp -a $_pkg/usr/share/sane $fs/usr/share |
pankso@648 | 38 } |