# HG changeset patch # User Pascal Bellard # Date 1580117329 -3600 # Node ID 9c9883e9c387e4e479458e73165978aa5533df76 # Parent e3c91f2ce71deb0da57a0213951b41645ba3e68a Add xsane-locales diff -r e3c91f2ce71d -r 9c9883e9c387 xsane-locales/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xsane-locales/receipt Mon Jan 27 10:28:49 2020 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="xsane-locales" +VERSION="0.998" +CATEGORY="office" +SHORT_DESC="XSane locales (for the graphical scanning frontend)" +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://www.xsane.org/" +WANTED="sane" + +DEPENDS="sane" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $install/usr/share/locale $fs/usr/share +} diff -r e3c91f2ce71d -r 9c9883e9c387 xsane/receipt --- a/xsane/receipt Mon Jan 27 10:15:18 2020 +0100 +++ b/xsane/receipt Mon Jan 27 10:28:49 2020 +0100 @@ -16,7 +16,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ @@ -33,4 +32,5 @@ cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/sane $fs/usr/share rm -rf $fs/usr/share/sane/xsane/doc + ln -s sane/xsane/doc $install/usr/share/doc }