wok-current rev 24031

updated dialog (1.3_20190211 -> 1.3_20210324)
author Hans-G?nter Theisgen
date Tue Apr 06 13:52:57 2021 +0100 (2021-04-06)
parents 5baa35df2fab
children 848953b66f8d
files dialog/receipt
line diff
     1.1 --- a/dialog/receipt	Mon Apr 05 10:50:45 2021 +0100
     1.2 +++ b/dialog/receipt	Tue Apr 06 13:52:57 2021 +0100
     1.3 @@ -1,30 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dialog"
     1.7 -VERSION="1.3_20190211"
     1.8 +VERSION="1.3_20210324"
     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 +WEB_SITE="https://invisible-island.net/dialog/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tgz"
    1.16 -WEB_SITE="https://invisible-island.net/dialog/"
    1.17 +WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/$PACKAGE-${VERSION/_/-}.tgz"
    1.18  
    1.19 -WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/$PACKAGE-${VERSION/_/-}.tgz"
    1.20  DEPENDS="ncursesw"
    1.21  BUILD_DEPENDS="ncursesw-dev"
    1.22 +
    1.23  HOST_ARCH="i486 arm"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--sysconfdir=/etc \
    1.31 -		--mandir=/usr/share/man \
    1.32 -		--with-ncursesw \
    1.33 -		--enable-nls \
    1.34 -		--enable-widec \
    1.35 +	./configure			\
    1.36 +		--prefix=/usr		\
    1.37 +		--sysconfdir=/etc	\
    1.38 +		--mandir=/usr/share/man	\
    1.39 +		--with-ncursesw		\
    1.40 +		--enable-nls		\
    1.41 +		--enable-widec		\
    1.42  		$CONFIGURE_ARGS &&
    1.43  	make &&
    1.44  	make DESTDIR=$DESTDIR install
    1.45 @@ -33,16 +34,19 @@
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr $fs/etc
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 +	mkdir -p $fs/usr
    1.52 +	mkdir -p $fs/etc
    1.53  
    1.54 -	# Config file.
    1.55 -	cp $stuff/dialogrc $fs/etc
    1.56 +	cp -a $install/usr/bin	$fs/usr
    1.57 +
    1.58 +	# Configuration file.
    1.59 +	cp $stuff/dialogrc	$fs/etc
    1.60  
    1.61  	# Localisations:
    1.62 -	for lang in da de fr id it pt_BR ro ru; do
    1.63 +	for lang in da de fr id it pt_BR ro ru
    1.64 +	  do
    1.65  		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.66  		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \
    1.67  			$fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo
    1.68 -	done
    1.69 +	  done
    1.70  }