wok-6.x annotate ncurses/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | a7abacf75d6d |
children | 24801b09d2f7 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="ncurses" |
Hans-G?nter@23231 | 4 VERSION="6.2" |
pankso@210 | 5 CATEGORY="base-system" |
pascal@2086 | 6 SHORT_DESC="Library of functions to manage display on terminals." |
pankso@7 | 7 MAINTAINER="pankso@slitaz.org" |
Hans-G?nter@21526 | 8 LICENSE="MIT" |
Hans-G?nter@21526 | 9 WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html" |
Hans-G?nter@21526 | 10 |
pankso@7 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21526 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21526 | 13 |
Hans-G?nter@21526 | 14 DEPENDS="libtic libtinfo ncurses-common" |
Hans-G?nter@21526 | 15 BUILD_DEPENDS="" |
Hans-G?nter@21526 | 16 SPLIT="libform libmenu libpanel libtic libtinfo ncurses-common \ |
Hans-G?nter@21526 | 17 ncurses-dev ncurses-extra ncurses-man" |
Hans-G?nter@21526 | 18 |
pankso@12773 | 19 HOST_ARCH="i486 arm" |
pankso@12773 | 20 |
Hans-G?nter@23231 | 21 # @maintainer: Please update also: libform libmenu libpanel libtic libtinfo |
Hans-G?nter@23231 | 22 |
pascal@24071 | 23 current_version() |
pascal@24071 | 24 { |
pascal@24071 | 25 wget -O - https://invisible-mirror.net/archives/ncurses/ 2>/dev/null | \ |
pascal@24071 | 26 sed '/ncurses-/!d;s|.*ncurses-||;s|.tar.*||' | sed '$!d' |
pascal@24071 | 27 } |
pascal@24071 | 28 |
pankso@7 | 29 # Rules to configure and make the package. |
pankso@7 | 30 compile_rules() |
pankso@7 | 31 { |
Hans-G?nter@21526 | 32 # Ncurses need an installed /usr/bin/tic which is in ncursesw-extra. And |
pankso@12774 | 33 # when cross compiling we can't use the freshly cooked binary. See cook log: |
pankso@12774 | 34 # |
pankso@12774 | 35 #** Building terminfo database, please wait... |
pankso@12774 | 36 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo |
pankso@12774 | 37 # |
Hans-G?nter@22370 | 38 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ] |
Hans-G?nter@22370 | 39 then |
pankso@12792 | 40 echo "Installing: ncursesw-extra" |
pankso@12792 | 41 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null |
pankso@12774 | 42 fi |
Hans-G?nter@21526 | 43 |
pascal@15083 | 44 mkdir -p $DESTDIR/usr/lib/terminfo |
Hans-G?nter@21526 | 45 |
Hans-G?nter@21526 | 46 # search string not in file (6.1) |
Hans-G?nter@21526 | 47 # sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ |
Hans-G?nter@21526 | 48 # include/Makefile.in |
Hans-G?nter@21526 | 49 |
Hans-G?nter@21526 | 50 ./configure \ |
Hans-G?nter@21526 | 51 --libdir=/lib \ |
Hans-G?nter@21526 | 52 --sysconfdir=/etc \ |
Hans-G?nter@21526 | 53 --with-shared \ |
Hans-G?nter@21526 | 54 --without-debug \ |
Hans-G?nter@21526 | 55 --without-ada \ |
Hans-G?nter@21526 | 56 --with-build-cc="gcc -D_GNU_SOURCE" \ |
Hans-G?nter@21526 | 57 --with-termlib \ |
Hans-G?nter@21526 | 58 --with-ticlib \ |
Hans-G?nter@21526 | 59 --enable-pc-files \ |
pascal@17384 | 60 $CONFIGURE_ARGS && |
Hans-G?nter@23231 | 61 # 6.2 |
Hans-G?nter@23231 | 62 sed -i '186s|TICDIR "!= |TICDIR " != |' \ |
Hans-G?nter@22370 | 63 misc/run_tic.sh && |
Hans-G?nter@21526 | 64 make && |
Hans-G?nter@21526 | 65 make install |
pankso@7 | 66 } |
pankso@7 | 67 |
pankso@7 | 68 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 69 genpkg_rules() |
pankso@7 | 70 { |
pankso@4884 | 71 mkdir -p $fs/lib |
Hans-G?nter@23231 | 72 cp -a $install/lib/libncurses.so* $fs/lib |
pankso@7 | 73 } |