wok-next view xsane/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 75632eca5b07 |
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 libxdamage lcms v4l-utils libltdl"
35 }