wok-6.x annotate xsane/receipt @ rev 9883

xsane: Fix BD
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 17 01:16:19 2011 +0200 (2011-05-17)
parents 57eb534ee8cb
children ebf60d9a284d
rev   line source
pankso@650 1 # SliTaz package receipt.
pankso@650 2
pankso@650 3 PACKAGE="xsane"
slaxemulator@7330 4 VERSION="0.998"
pankso@650 5 CATEGORY="office"
pankso@650 6 SHORT_DESC="XSane - graphical scanning frontend."
pankso@650 7 MAINTAINER="pankso@slitaz.org"
pankso@650 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@650 9 WEB_SITE="http://www.xsane.org/"
pankso@4252 10 WGET_URL="http://www.xsane.org/download/$TARBALL"
pankso@650 11
erjo@9883 12 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libtool"
erjo@9883 13 BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev "
erjo@9883 14
pankso@650 15 # Rules to configure and make the package.
pankso@650 16 compile_rules()
pankso@650 17 {
pankso@650 18 cd $src
pankso@650 19 ./configure \
pankso@650 20 --prefix=/usr \
pankso@650 21 --mandir=/usr/share/man \
pascal@1516 22 $CONFIGURE_ARGS &&
pascal@1516 23 make &&
erjo@9883 24 make DESTDIR=$DESTDIR install
pankso@650 25 }
pankso@650 26
pankso@650 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@650 28 genpkg_rules()
pankso@650 29 {
pankso@650 30 mkdir -p $fs/usr/share
pankso@650 31 cp -a $_pkg/usr/bin $fs/usr
pankso@650 32 cp -a $_pkg/usr/share/sane $fs/usr/share
pankso@650 33 rm -rf $fs/usr/share/sane/xsane/doc
pankso@650 34 }