wok diff ncursesw/receipt @ rev 21671
updated pdf2djvu (0.9.4 -> 0.9.12)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 01 15:33:43 2019 +0100 (2019-06-01) |
parents | a78610b2eb47 |
children | 784b7224f57a |
line diff
1.1 --- a/ncursesw/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/ncursesw/receipt Sat Jun 01 15:33:43 2019 +0100 1.3 @@ -1,19 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ncursesw" 1.7 -VERSION="5.9" 1.8 -SOURCE="ncurses" 1.9 +VERSION="6.1" 1.10 CATEGORY="base-system" 1.11 SHORT_DESC="Library of functions to manage display on terminals." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html" 1.15 + 1.16 +SOURCE="ncurses" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WEB_SITE="https://invisible-island.net/ncurses/" 1.19 -WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" 1.20 -HOST_ARCH="i486 arm" 1.21 +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 1.22 1.23 DEPENDS="ncurses-common" 1.24 -BUILD_DEPENDS="gcc" 1.25 +BUILD_DEPENDS="" 1.26 + 1.27 +HOST_ARCH="i486 arm" 1.28 1.29 case "$ARCH" in 1.30 arm) BUILD_DEPENDS="" ;; 1.31 @@ -22,7 +24,7 @@ 1.32 # Rules to configure and make the package. 1.33 compile_rules() 1.34 { 1.35 - # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And 1.36 + # Ncurses need an installed /usr/bin/tic which is in ncursesw-extra. And 1.37 # when cross compiling we can't use the freshly cooked binary. See cook log: 1.38 # 1.39 #** Building terminfo database, please wait... 1.40 @@ -32,35 +34,40 @@ 1.41 echo "Installing: ncursesw-extra" 1.42 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null 1.43 fi 1.44 - cd $src 1.45 + 1.46 mkdir -p $DESTDIR/usr/lib/terminfo 1.47 - sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ 1.48 - include/Makefile.in 1.49 - ./configure \ 1.50 - --libdir=/lib \ 1.51 - --sysconfdir=/etc \ 1.52 - --with-shared \ 1.53 - --without-debug \ 1.54 - --without-ada \ 1.55 - --enable-widec \ 1.56 - --with-build-cc="gcc -D_GNU_SOURCE" \ 1.57 - --enable-pc-files \ 1.58 + 1.59 +# search string not in file (6.1) 1.60 +# sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ 1.61 +# include/Makefile.in 1.62 + 1.63 + ./configure \ 1.64 + --libdir=/lib \ 1.65 + --sysconfdir=/etc \ 1.66 + --with-shared \ 1.67 + --without-debug \ 1.68 + --without-ada \ 1.69 + --enable-widec \ 1.70 + --with-build-cc="gcc -D_GNU_SOURCE" \ 1.71 + --enable-pc-files \ 1.72 $CONFIGURE_ARGS && 1.73 - make && make install 1.74 + make && 1.75 + make install 1.76 } 1.77 1.78 # Rules to gen a SliTaz package suitable for Tazpkg. 1.79 genpkg_rules() 1.80 { 1.81 - mkdir -p $fs/lib $fs/usr/bin 1.82 + mkdir -p $fs/lib 1.83 + mkdir -p $fs/usr/bin 1.84 1.85 - # Libs. 1.86 + # Libraries 1.87 cp -a $install/lib/libncursesw.so* $fs/lib 1.88 1.89 - # Base progs. 1.90 - cp $install/usr/bin/clear $fs/usr/bin 1.91 - cp $install/usr/bin/tset $fs/usr/bin 1.92 - cp $install/usr/bin/reset $fs/usr/bin 1.93 + # Base programs 1.94 + cp $install/usr/bin/clear $fs/usr/bin 1.95 + cp $install/usr/bin/tset $fs/usr/bin 1.96 + cp $install/usr/bin/reset $fs/usr/bin 1.97 } 1.98 1.99 # Overlap busybox