wok annotate xsane/receipt @ rev 15164

Up xorg-xf86-input-void (1.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 18:48:58 2013 +0000 (2013-08-15)
parents 9737ff602e80
children 23c3aed67cd9
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@9946 12 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl"
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 \
slaxemulator@12331 22 --disable-gimp \
pascal@1516 23 $CONFIGURE_ARGS &&
pascal@1516 24 make &&
erjo@9883 25 make DESTDIR=$DESTDIR install
pankso@650 26 }
pankso@650 27
pankso@650 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@650 29 genpkg_rules()
pankso@650 30 {
samuel_trassare@12055 31 mkdir -p $fs/usr/share
pankso@650 32 cp -a $_pkg/usr/bin $fs/usr
pankso@650 33 cp -a $_pkg/usr/share/sane $fs/usr/share
pankso@650 34 rm -rf $fs/usr/share/sane/xsane/doc
pankso@650 35 }