wok-6.x view ncurses/receipt @ rev 23604

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