wok-next view xsane/receipt @ rev 21383

updated nbd again (3.3 -> 3.20)
author Hans-G?nter Theisgen
date Thu Apr 16 17:34:38 2020 +0100 (2020-04-16)
parents 75632eca5b07
children
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 libtiff libxdamage liblcms v4l-utils libltdl"
35 }