wok annotate xsane/receipt @ rev 20599
nss: remove USE_64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 16 20:01:00 2018 +0100 (2018-12-16) |
parents | 78a8f90f5204 |
children | 9c9883e9c387 |
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 |
erjo@9946 | 13 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl" |
erjo@9883 | 14 BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev " |
erjo@9883 | 15 |
pankso@650 | 16 # Rules to configure and make the package. |
pankso@650 | 17 compile_rules() |
pankso@650 | 18 { |
pankso@650 | 19 cd $src |
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 } |