wok-current rev 12774

ncurses: avoid dbep loop: work around
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 04:39:35 2012 +0200 (2012-05-13)
parents 7c64b51d0a8c
children fb9821d2c0ce
files ncurses/receipt ncursesw/receipt
line diff
     1.1 --- a/ncurses/receipt	Sun May 13 04:31:48 2012 +0200
     1.2 +++ b/ncurses/receipt	Sun May 13 04:39:35 2012 +0200
     1.3 @@ -10,14 +10,8 @@
     1.4  WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -# Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
     1.8 -# when cross compiling we can't use the freshly cooked binary. See cook log:
     1.9 -#
    1.10 -#** Building terminfo database, please wait...
    1.11 -#Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
    1.12 -#
    1.13  DEPENDS="ncurses-common"
    1.14 -BUILD_DEPENDS="gcc ncursesw-extra"
    1.15 +BUILD_DEPENDS="gcc"
    1.16  
    1.17  # Rules to compile & install the temporary toolchain.
    1.18  cook_tmp_toolchain()
    1.19 @@ -31,9 +25,15 @@
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	case "$ARCH" in
    1.24 -		arm) CROSS_ARGS="" ;;
    1.25 -	esac
    1.26 +	# Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
    1.27 +	# when cross compiling we can't use the freshly cooked binary. See cook log:
    1.28 +	#
    1.29 +	#** Building terminfo database, please wait...
    1.30 +	#Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
    1.31 +	#
    1.32 +	if [ ! "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
    1.33 +		tazpkg get-install ncursesw-extra
    1.34 +	fi
    1.35  	cd $src
    1.36  	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    1.37  		include/Makefile.in
     2.1 --- a/ncursesw/receipt	Sun May 13 04:31:48 2012 +0200
     2.2 +++ b/ncursesw/receipt	Sun May 13 04:39:35 2012 +0200
     2.3 @@ -11,18 +11,21 @@
     2.4  WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
     2.5  HOST_ARCH="i486 arm"
     2.6  
     2.7 -# Ncursesw need an installed /usr/bin/tic witch is in ncursesw-extra. And
     2.8 -# when cross compiling we can't use the freshly cooked binary. See cook log:
     2.9 -#
    2.10 -#** Building terminfo database, please wait...
    2.11 -#Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
    2.12 -#
    2.13  DEPENDS="ncurses-common"
    2.14 -BUILD_DEPENDS="gcc ncursesw-extra"
    2.15 +BUILD_DEPENDS="gcc"
    2.16  
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20 +	# Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
    2.21 +	# when cross compiling we can't use the freshly cooked binary. See cook log:
    2.22 +	#
    2.23 +	#** Building terminfo database, please wait...
    2.24 +	#Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
    2.25 +	#
    2.26 +	if [ ! "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
    2.27 +		tazpkg get-install ncursesw-extra
    2.28 +	fi
    2.29  	cd $src
    2.30  	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    2.31  		include/Makefile.in