wok annotate xsane/receipt @ rev 23819
updated cacerts (20190517 -> 20200522)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 27 17:52:58 2020 +0100 (2020-05-27) |
parents | a1bbe2fd9975 |
children | dc0f7fd1ff7d |
rev | line source |
---|---|
pankso@650 | 1 # SliTaz package receipt. |
pankso@650 | 2 |
pankso@650 | 3 PACKAGE="xsane" |
pascal@22801 | 4 VERSION="0.999" |
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/" |
pascal@22801 | 11 WGET_URL="https://gitlab.com/sane-project/frontend/xsane/-/archive/$VERSION/$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 ./configure \ |
pankso@650 | 20 --prefix=/usr \ |
pankso@650 | 21 --mandir=/usr/share/man \ |
slaxemulator@12331 | 22 --disable-gimp \ |
pascal@1516 | 23 $CONFIGURE_ARGS && |
pascal@1516 | 24 make && |
erjo@9883 | 25 make DESTDIR=$DESTDIR install |
pankso@650 | 26 } |
pankso@650 | 27 |
pankso@650 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@650 | 29 genpkg_rules() |
pankso@650 | 30 { |
samuel_trassare@12055 | 31 mkdir -p $fs/usr/share |
pascal@15601 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 33 cp -a $install/usr/share/sane $fs/usr/share |
pankso@650 | 34 rm -rf $fs/usr/share/sane/xsane/doc |
pascal@22798 | 35 mv $install/usr/share/sane/xsane/doc $install/usr/share/doc |
pankso@650 | 36 } |