wok-next annotate xsane/receipt @ rev 20623
Our udev is old, current udev is a part of systemd; use eudev instead of (old) udev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 25 22:28:07 2018 +0300 (2018-04-25) |
parents | 10df65db91ad |
children | f48456621a9d |
rev | line source |
---|---|
pankso@650 | 1 # SliTaz package receipt. |
pankso@650 | 2 |
pankso@650 | 3 PACKAGE="xsane" |
slaxemulator@7330 | 4 VERSION="0.998" |
pankso@650 | 5 CATEGORY="office" |
pankso@650 | 6 SHORT_DESC="XSane - graphical scanning frontend." |
pankso@650 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL2" |
pankso@650 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@650 | 10 WEB_SITE="http://www.xsane.org/" |
pankso@4252 | 11 WGET_URL="http://www.xsane.org/download/$TARBALL" |
pankso@650 | 12 |
al@20604 | 13 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms v4l-utils libltdl" |
al@20623 | 14 BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev eudev" |
erjo@9883 | 15 |
pankso@650 | 16 # Rules to configure and make the package. |
pankso@650 | 17 compile_rules() |
pankso@650 | 18 { |
pascal@20259 | 19 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c |
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 && |
erjo@9883 | 26 make DESTDIR=$DESTDIR install |
pankso@650 | 27 } |
pankso@650 | 28 |
pankso@650 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@650 | 30 genpkg_rules() |
pankso@650 | 31 { |
samuel_trassare@12055 | 32 mkdir -p $fs/usr/share |
pascal@15601 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 34 cp -a $install/usr/share/sane $fs/usr/share |
pankso@650 | 35 rm -rf $fs/usr/share/sane/xsane/doc |
pankso@650 | 36 } |