wok-next view xsane/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xsane"
4 VERSION="0.998"
5 CATEGORY="office"
6 SHORT_DESC="XSane - graphical scanning frontend"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xsane.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.xsane.org/download/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev sane-backends-dev lcms-dev eudev tiff-dev \
15 libjpeg-turbo-dev"
17 compile_rules() {
18 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --disable-gimp \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/sane $fs/usr/share
33 rm -rf $fs/usr/share/sane/xsane/doc
34 DEPENDS="sane-backends gtk2 tiff xorg-libXdamage lcms v4l-utils libltdl"
35 }