wok-6.x view xsane/receipt @ rev 23592
created recipe for python-pbr
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 11:05:31 2020 +0100 (2020-04-08) |
parents | a1bbe2fd9975 |
children | dc0f7fd1ff7d |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --disable-gimp \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/sane $fs/usr/share
34 rm -rf $fs/usr/share/sane/xsane/doc
35 mv $install/usr/share/sane/xsane/doc $install/usr/share/doc
36 }