wok-6.x rev 15083

ncurses: needs /usr/lib/terminfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 20:05:59 2013 +0000 (2013-08-13)
parents 5bfb2289a920
children 3032e1d97d20
files ncurses-common/receipt ncurses-dev/receipt ncurses-extra/receipt ncurses-man/receipt ncurses/receipt ncursesw/receipt
line diff
     1.1 --- a/ncurses-common/receipt	Tue Aug 13 18:19:59 2013 +0000
     1.2 +++ b/ncurses-common/receipt	Tue Aug 13 20:05:59 2013 +0000
     1.3 @@ -5,11 +5,12 @@
     1.4  CATEGORY="base-system"
     1.5  SHORT_DESC="Common files for the ncurses and ncursesw library."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="glibc-base"
     1.8  WANTED="ncurses"
     1.9  WEB_SITE="http://invisible-island.net/ncurses/"
    1.10  HOST_ARCH="i486 arm"
    1.11  
    1.12 +DEPENDS="glibc-base"
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17 @@ -19,25 +20,25 @@
    1.18      do
    1.19          mkdir $fs/usr/share/terminfo/$dir
    1.20      done
    1.21 -    cp $_pkg/usr/share/terminfo/a/ansi \
    1.22 +    cp $install/usr/share/terminfo/a/ansi \
    1.23      $fs/usr/share/terminfo/a
    1.24 -    cp $_pkg/usr/share/terminfo/l/linux \
    1.25 +    cp $install/usr/share/terminfo/l/linux \
    1.26      $fs/usr/share/terminfo/l
    1.27 -    cp $_pkg/usr/share/terminfo/r/rxvt \
    1.28 +    cp $install/usr/share/terminfo/r/rxvt \
    1.29      $fs/usr/share/terminfo/r
    1.30 -    cp $_pkg/usr/share/terminfo/x/xterm \
    1.31 +    cp $install/usr/share/terminfo/x/xterm \
    1.32      $fs/usr/share/terminfo/x
    1.33 -    cp $_pkg/usr/share/terminfo/x/xterm-color \
    1.34 +    cp $install/usr/share/terminfo/x/xterm-color \
    1.35      $fs/usr/share/terminfo/x
    1.36 -    cp $_pkg/usr/share/terminfo/x/xterm-new \
    1.37 +    cp $install/usr/share/terminfo/x/xterm-new \
    1.38      $fs/usr/share/terminfo/x
    1.39 -    cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
    1.40 +    cp $install/usr/share/terminfo/x/xterm-vt220 \
    1.41      $fs/usr/share/terminfo/x
    1.42 -    cp $_pkg/usr/share/terminfo/v/vt100 \
    1.43 +    cp $install/usr/share/terminfo/v/vt100 \
    1.44      $fs/usr/share/terminfo/v
    1.45 -    cp $_pkg/usr/share/terminfo/v/vt102* \
    1.46 +    cp $install/usr/share/terminfo/v/vt102* \
    1.47      $fs/usr/share/terminfo/v
    1.48  
    1.49      # Tabset.
    1.50 -    cp -a $_pkg/usr/share/tabset $fs/usr/share
    1.51 +    cp -a $install/usr/share/tabset $fs/usr/share
    1.52  }
     2.1 --- a/ncurses-dev/receipt	Tue Aug 13 18:19:59 2013 +0000
     2.2 +++ b/ncurses-dev/receipt	Tue Aug 13 20:05:59 2013 +0000
     2.3 @@ -15,7 +15,7 @@
     2.4  genpkg_rules()
     2.5  {
     2.6  	mkdir -p $fs/lib $fs/usr/bin
     2.7 -	cp -a $_pkg/lib/*.a $fs/lib
     2.8 +	cp -a $install/lib/*.a $fs/lib
     2.9  	# Use include file from ncursesw-dev
    2.10  	#cp -a $install/usr/include $fs/usr
    2.11  	cp $install/usr/bin/ncurses5-config $fs/usr/bin
     3.1 --- a/ncurses-extra/receipt	Tue Aug 13 18:19:59 2013 +0000
     3.2 +++ b/ncurses-extra/receipt	Tue Aug 13 20:05:59 2013 +0000
     3.3 @@ -6,17 +6,18 @@
     3.4  SHORT_DESC="Extra files for the ncurses library."
     3.5  MAINTAINER="pascal.bellard@slitaz.org"
     3.6  WANTED="ncurses"
     3.7 +WEB_SITE="http://invisible-island.net/ncurses/"
     3.8 +
     3.9  DEPENDS="ncurses"
    3.10 -WEB_SITE="http://invisible-island.net/ncurses/"
    3.11  
    3.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.13  genpkg_rules()
    3.14  {
    3.15  	mkdir -p $fs/usr/share
    3.16  	# Binaries are provided by ncursesw-extra, we use UTF-8 by default.
    3.17 -	#cp -a $_pkg/usr/bin $fs/usr
    3.18 +	#cp -a $install/usr/bin $fs/usr
    3.19  	#chmod 755 $fs/usr/bin/*
    3.20 -	cp -a $_pkg/usr/share/terminfo $fs/usr/share
    3.21 +	cp -a $install/usr/share/terminfo $fs/usr/share
    3.22  	# Remove already provided by other packages
    3.23  	#rm -f $fs/usr/bin/ncurses5-config
    3.24  	[ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common
     4.1 --- a/ncurses-man/receipt	Tue Aug 13 18:19:59 2013 +0000
     4.2 +++ b/ncurses-man/receipt	Tue Aug 13 20:05:59 2013 +0000
     4.3 @@ -12,5 +12,5 @@
     4.4  genpkg_rules()
     4.5  {
     4.6  	mkdir -p $fs/usr/share
     4.7 -	cp -a $_pkg/usr/share/man $fs/usr/share
     4.8 +	cp -a $install/usr/share/man $fs/usr/share
     4.9  }
     5.1 --- a/ncurses/receipt	Tue Aug 13 18:19:59 2013 +0000
     5.2 +++ b/ncurses/receipt	Tue Aug 13 20:05:59 2013 +0000
     5.3 @@ -27,6 +27,7 @@
     5.4  		tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
     5.5  	fi
     5.6  	cd $src
     5.7 +	mkdir -p $DESTDIR/usr/lib/terminfo
     5.8  	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
     5.9  		include/Makefile.in
    5.10  	./configure \
     6.1 --- a/ncursesw/receipt	Tue Aug 13 18:19:59 2013 +0000
     6.2 +++ b/ncursesw/receipt	Tue Aug 13 20:05:59 2013 +0000
     6.3 @@ -32,6 +32,7 @@
     6.4  		tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
     6.5  	fi
     6.6  	cd $src
     6.7 +	mkdir -p $DESTDIR/usr/lib/terminfo
     6.8  	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
     6.9  		include/Makefile.in
    6.10  	./configure \