wok rev 4895

dialog: --with-ncursesw for UTF-8 support
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 07 18:42:38 2010 +0100 (2010-02-07)
parents 82cd8e77939c
children fd2ec226922d
files dialog/receipt
line diff
     1.1 --- a/dialog/receipt	Sun Feb 07 18:41:46 2010 +0100
     1.2 +++ b/dialog/receipt	Sun Feb 07 18:42:38 2010 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dialog"
     1.7 -VERSION="1.1-20071028"
     1.8 +VERSION="1.1-20100119"
     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 -DEPENDS="ncurses"
    1.13 -BUILD_DEPENDS="ncurses-dev"
    1.14 +DEPENDS="ncursesw"
    1.15 +BUILD_DEPENDS="ncursesw-dev"
    1.16  TARBALL="$PACKAGE-$VERSION.tgz"
    1.17  WEB_SITE="http://invisible-island.net/$PACKAGE/"
    1.18  WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL"
    1.19 @@ -15,9 +15,13 @@
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23 -	./configure --enable-nls --prefix=/usr \
    1.24 -	--sysconfdir=/etc --mandir=/usr/share/man \
    1.25 -	$CONFIGURE_ARGS &&
    1.26 +	./configure \
    1.27 +		--prefix=/usr \
    1.28 +		--sysconfdir=/etc \
    1.29 +		--mandir=/usr/share/man \
    1.30 +		--with-ncursesw \
    1.31 +		--enable-widec \
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make &&
    1.34  	make DESTDIR=$PWD/_pkg install
    1.35  }
    1.36 @@ -25,10 +29,8 @@
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/share/locale $fs/etc
    1.41 +	mkdir -p $fs/usr $fs/etc
    1.42  	cp -a $_pkg/usr/bin $fs/usr
    1.43 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.44 -	strip -s $fs/usr/bin/*
    1.45  	# Config file.
    1.46  	cp stuff/dialogrc $fs/etc
    1.47  }