wok-next annotate xsane/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 75632eca5b07 |
children |
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@21143 | 34 DEPENDS="sane-backends gtk2 libtiff libxdamage liblcms v4l-utils libltdl" |
pankso@650 | 35 } |