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

updated androguard (1.5 -> 3.3.5)
author Hans-G?nter Theisgen
date Mon Dec 30 14:10:09 2019 +0100 (2019-12-30)
parents 94ece03c2cb1
children a7abacf75d6d
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses"
4 VERSION="6.1"
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # Ncurses need an installed /usr/bin/tic which is in ncursesw-extra. And
25 # when cross compiling we can't use the freshly cooked binary. See cook log:
26 #
27 #** Building terminfo database, please wait...
28 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
29 #
30 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]
31 then
32 echo "Installing: ncursesw-extra"
33 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
34 fi
36 mkdir -p $DESTDIR/usr/lib/terminfo
38 # search string not in file (6.1)
39 # sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
40 # include/Makefile.in
42 ./configure \
43 --libdir=/lib \
44 --sysconfdir=/etc \
45 --with-shared \
46 --without-debug \
47 --without-ada \
48 --with-build-cc="gcc -D_GNU_SOURCE" \
49 --with-termlib \
50 --with-ticlib \
51 --enable-pc-files \
52 $CONFIGURE_ARGS &&
53 # 6.1
54 sed -i '185s|TICDIR "!= |TICDIR " != |' \
55 misc/run_tic.sh &&
56 make &&
57 make install
58 }
60 # Rules to gen a SliTaz package suitable for Tazpkg.
61 genpkg_rules()
62 {
63 mkdir -p $fs/lib
64 cp -a $install/lib/libncurses.so* $fs/lib
65 }