wok view xsane/receipt @ rev 18656
Add pypar2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 21:12:02 2015 +0100 (2015-12-02) |
parents | 78a8f90f5204 |
children | 9c9883e9c387 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xsane"
4 VERSION="0.998"
5 CATEGORY="office"
6 SHORT_DESC="XSane - graphical scanning frontend."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xsane.org/"
11 WGET_URL="http://www.xsane.org/download/$TARBALL"
13 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl"
14 BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev "
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --disable-gimp \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/sane $fs/usr/share
35 rm -rf $fs/usr/share/sane/xsane/doc
36 }