wok-4.x annotate xsane/receipt @ rev 11077
Up: cairo-dock-plugins to 2.4.0~2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 01:46:47 2011 +0000 (2011-10-17) |
parents | 19e4b0cb5caa |
children | af9a1b47948c |
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 \ |
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 } |