wok diff ncurses/receipt @ rev 21606

updated odt2txt (0.4 -> 0.5)
author Hans-G?nter Theisgen
date Thu May 23 10:57:29 2019 +0100 (2019-05-23)
parents a78610b2eb47
children f7951fed4db2
line diff
     1.1 --- a/ncurses/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/ncurses/receipt	Thu May 23 10:57:29 2019 +0100
     1.3 @@ -1,25 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ncurses"
     1.7 -VERSION="5.9"
     1.8 +VERSION="6.1"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Library of functions to manage display on terminals."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 +LICENSE="MIT"
    1.13 +WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -LICENSE="MIT"
    1.17 -WEB_SITE="https://invisible-island.net/ncurses/"
    1.18 -WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
    1.19 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.20 +
    1.21 +DEPENDS="libtic libtinfo ncurses-common"
    1.22 +BUILD_DEPENDS=""
    1.23 +SPLIT="libform libmenu libpanel libtic libtinfo ncurses-common \
    1.24 +	ncurses-dev ncurses-extra ncurses-man"
    1.25 +
    1.26  HOST_ARCH="i486 arm"
    1.27  
    1.28 -DEPENDS="ncurses-common libtinfo libtic"
    1.29 -BUILD_DEPENDS=""
    1.30 -SPLIT="ncurses-common ncurses-extra ncurses-dev ncurses-man libform libmenu \
    1.31 -libpanel libtic libtinfo"
    1.32 -
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	# Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
    1.37 +	# Ncurses need an installed /usr/bin/tic which is in ncursesw-extra. And
    1.38  	# when cross compiling we can't use the freshly cooked binary. See cook log:
    1.39  	#
    1.40  	#** Building terminfo database, please wait...
    1.41 @@ -29,22 +31,26 @@
    1.42  		echo "Installing: ncursesw-extra"
    1.43  		tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
    1.44  	fi
    1.45 -	cd $src
    1.46 +
    1.47  	mkdir -p $DESTDIR/usr/lib/terminfo
    1.48 -	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    1.49 -		include/Makefile.in
    1.50 -	./configure \
    1.51 -		--libdir=/lib \
    1.52 -		--sysconfdir=/etc \
    1.53 -		--with-shared \
    1.54 -		--without-debug \
    1.55 -		--without-ada \
    1.56 -		--with-build-cc="gcc -D_GNU_SOURCE" \
    1.57 -		--with-termlib \
    1.58 -		--with-ticlib \
    1.59 -		--enable-pc-files \
    1.60 +
    1.61 +# search string not in file (6.1)
    1.62 +#	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    1.63 +#		include/Makefile.in
    1.64 +
    1.65 +	./configure					\
    1.66 +		--libdir=/lib				\
    1.67 +		--sysconfdir=/etc			\
    1.68 +		--with-shared				\
    1.69 +		--without-debug				\
    1.70 +		--without-ada				\
    1.71 +		--with-build-cc="gcc -D_GNU_SOURCE"	\
    1.72 +		--with-termlib				\
    1.73 +		--with-ticlib				\
    1.74 +		--enable-pc-files			\
    1.75  		$CONFIGURE_ARGS &&
    1.76 -	make && make install
    1.77 +	make &&
    1.78 +	make install
    1.79  }
    1.80  
    1.81  # Rules to gen a SliTaz package suitable for Tazpkg.