wok-6.x view ncurses/receipt @ rev 20242
Up pgrouting
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:52:05 2018 +0100 (2018-03-10) |
parents | 9632206f6893 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses"
4 VERSION="5.9"
5 CATEGORY="base-system"
6 SHORT_DESC="Library of functions to manage display on terminals."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 LICENSE="MIT"
10 WEB_SITE="http://invisible-island.net/ncurses/"
11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses-common libtinfo libtic"
15 BUILD_DEPENDS=""
16 SPLIT="ncurses-common ncurses-extra ncurses-dev ncurses-man libform libmenu \
17 libpanel libtic libtinfo"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
23 # when cross compiling we can't use the freshly cooked binary. See cook log:
24 #
25 #** Building terminfo database, please wait...
26 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
27 #
28 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
29 echo "Installing: ncursesw-extra"
30 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
31 fi
32 cd $src
33 mkdir -p $DESTDIR/usr/lib/terminfo
34 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
35 include/Makefile.in
36 ./configure \
37 --libdir=/lib \
38 --sysconfdir=/etc \
39 --with-shared \
40 --without-debug \
41 --without-ada \
42 --with-build-cc="gcc -D_GNU_SOURCE" \
43 --with-termlib \
44 --with-ticlib \
45 --enable-pc-files \
46 $CONFIGURE_ARGS &&
47 make && make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/lib
54 cp -a $install/lib/libncurses.so* $fs/lib
55 }