wok-next annotate xsane/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | 5669e8b3be70 |
children | 29128929e4f9 |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
pankso@650 | 2 |
pankso@650 | 3 PACKAGE="xsane" |
slaxemulator@7330 | 4 VERSION="0.998" |
pankso@650 | 5 CATEGORY="office" |
al@21017 | 6 SHORT_DESC="XSane - graphical scanning frontend" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL2" |
al@21017 | 9 WEB_SITE="http://www.xsane.org/" |
al@21017 | 10 |
pankso@650 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4252 | 12 WGET_URL="http://www.xsane.org/download/$TARBALL" |
pankso@650 | 13 |
al@21020 | 14 BUILD_DEPENDS="gtk2-dev sane-backends-dev lcms-dev eudev tiff-dev \ |
al@21020 | 15 libjpeg-turbo-dev" |
erjo@9883 | 16 |
al@21017 | 17 compile_rules() { |
pascal@20259 | 18 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c |
al@21017 | 19 |
pankso@650 | 20 ./configure \ |
pankso@650 | 21 --prefix=/usr \ |
pankso@650 | 22 --mandir=/usr/share/man \ |
slaxemulator@12331 | 23 --disable-gimp \ |
pascal@1516 | 24 $CONFIGURE_ARGS && |
pascal@1516 | 25 make && |
al@21020 | 26 make DESTDIR=$install install |
pankso@650 | 27 } |
pankso@650 | 28 |
al@21017 | 29 genpkg_rules() { |
al@21017 | 30 mkdir -p $fs/usr/share |
al@21017 | 31 cp -a $install/usr/bin $fs/usr |
al@21017 | 32 cp -a $install/usr/share/sane $fs/usr/share |
al@21017 | 33 rm -rf $fs/usr/share/sane/xsane/doc |
al@21080 | 34 DEPENDS="sane-backends gtk2 libtiff libxdamage lcms v4l-utils libltdl" |
pankso@650 | 35 } |