wok view xsane/receipt @ rev 25620
Up youtube-dl (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 30 10:53:19 2023 +0000 (14 months ago) |
parents | dc0f7fd1ff7d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xsane"
4 VERSION="0.999"
5 CATEGORY="office"
6 SHORT_DESC="XSane - graphical scanning frontend."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xsane.org/"
11 WGET_URL="https://gitlab.com/sane-project/frontend/xsane/-/archive/$VERSION/$TARBALL"
13 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl"
14 BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev "
16 current_version()
17 {
18 wget -O - "${WGET_URL%/arch*}/tags?sort=updated_desc" 2>/dev/null | \
19 sed '/tar.gz/!d;s|.*/xsane-\(.*\).tar.gz".*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 --disable-gimp \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/sane $fs/usr/share
40 rm -rf $fs/usr/share/sane/xsane/doc
41 mv $install/usr/share/sane/xsane/doc $install/usr/share/doc
42 }