wok-current rev 22797

Add xsane-locales
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 10:28:49 2020 +0100 (2020-01-27)
parents e3c91f2ce71d
children a1bbe2fd9975
files xsane-locales/receipt xsane/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xsane-locales/receipt	Mon Jan 27 10:28:49 2020 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xsane-locales"
     1.7 +VERSION="0.998"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="XSane locales (for the graphical scanning frontend)"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://www.xsane.org/"
    1.13 +WANTED="sane"
    1.14 +
    1.15 +DEPENDS="sane"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +    mkdir -p $fs/usr/share
    1.21 +    cp -a $install/usr/share/locale $fs/usr/share
    1.22 +}
     2.1 --- a/xsane/receipt	Mon Jan 27 10:15:18 2020 +0100
     2.2 +++ b/xsane/receipt	Mon Jan 27 10:28:49 2020 +0100
     2.3 @@ -16,7 +16,6 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8  	./configure \
     2.9  		--prefix=/usr \
    2.10  		--mandir=/usr/share/man \
    2.11 @@ -33,4 +32,5 @@
    2.12      cp -a $install/usr/bin $fs/usr
    2.13      cp -a $install/usr/share/sane $fs/usr/share
    2.14      rm -rf $fs/usr/share/sane/xsane/doc
    2.15 +    ln -s sane/xsane/doc $install/usr/share/doc
    2.16  }