wok-current annotate xsane/receipt @ rev 24493
updated dokuwiki (20180422b -> 20200729)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 11:02:17 2022 +0100 (2022-02-19) |
parents | dc0f7fd1ff7d |
children | 3ad63c8fc2f9 |
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 |
pascal@24061 | 16 current_version() |
pascal@24061 | 17 { |
pascal@24415 | 18 wget -O - "${WGET_URL%/arch*}/tags?sort=updated_desc" 2>/dev/null | \ |
pascal@24061 | 19 sed '/tar.gz/!d;s|.*/xsane-\(.*\).tar.gz".*|\1|;q' |
pascal@24061 | 20 } |
pascal@24061 | 21 |
pankso@650 | 22 # Rules to configure and make the package. |
pankso@650 | 23 compile_rules() |
pankso@650 | 24 { |
pankso@650 | 25 ./configure \ |
pankso@650 | 26 --prefix=/usr \ |
pankso@650 | 27 --mandir=/usr/share/man \ |
slaxemulator@12331 | 28 --disable-gimp \ |
pascal@1516 | 29 $CONFIGURE_ARGS && |
pascal@1516 | 30 make && |
erjo@9883 | 31 make DESTDIR=$DESTDIR install |
pankso@650 | 32 } |
pankso@650 | 33 |
pankso@650 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@650 | 35 genpkg_rules() |
pankso@650 | 36 { |
samuel_trassare@12055 | 37 mkdir -p $fs/usr/share |
pascal@15601 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 39 cp -a $install/usr/share/sane $fs/usr/share |
pankso@650 | 40 rm -rf $fs/usr/share/sane/xsane/doc |
pascal@22798 | 41 mv $install/usr/share/sane/xsane/doc $install/usr/share/doc |
pankso@650 | 42 } |