wok rev 20826
updated dialog (1.3-20160424 -> 1.3_20190211)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 19 16:56:17 2019 +0100 (2019-02-19) |
parents | a1d1bad5f192 |
children | cf397486d5e3 |
files | dialog/receipt |
line diff
1.1 --- a/dialog/receipt Tue Feb 19 15:51:35 2019 +0100 1.2 +++ b/dialog/receipt Tue Feb 19 16:56:17 2019 +0100 1.3 @@ -1,18 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="dialog" 1.7 -VERSION="1.3-20160424" 1.8 +VERSION="1.3_20190211" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Script-interpreter which provides a set of curses widgets." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="LGPL2.1" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tgz" 1.15 WEB_SITE="https://invisible-island.net/dialog/" 1.16 -WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL" 1.17 -HOST_ARCH="i486 arm" 1.18 1.19 +WGET_URL="ftp://invisible-mirror.net/archives/$PACKAGE/$PACKAGE-${VERSION/_/-}.tgz" 1.20 DEPENDS="ncursesw" 1.21 BUILD_DEPENDS="ncursesw-dev" 1.22 +HOST_ARCH="i486 arm" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 @@ -25,7 +26,8 @@ 1.27 --enable-nls \ 1.28 --enable-widec \ 1.29 $CONFIGURE_ARGS && 1.30 - make && make DESTDIR=$DESTDIR install 1.31 + make && 1.32 + make DESTDIR=$DESTDIR install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 @@ -33,6 +35,14 @@ 1.37 { 1.38 mkdir -p $fs/usr $fs/etc 1.39 cp -a $install/usr/bin $fs/usr 1.40 + 1.41 # Config file. 1.42 cp $stuff/dialogrc $fs/etc 1.43 + 1.44 + # Localisations: 1.45 + for lang in da de fr id it pt_BR ro ru; do 1.46 + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.47 + cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \ 1.48 + $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo 1.49 + done 1.50 }