wok view ncurses/receipt @ rev 15513

Up: thunderbird-langpack-es_ES (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 19 22:24:20 2013 +0100 (2013-11-19)
parents 851050970033
children 23c3aed67cd9
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 WEB_SITE="http://invisible-island.net/ncurses/"
10 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS="ncurses-common"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
20 # when cross compiling we can't use the freshly cooked binary. See cook log:
21 #
22 #** Building terminfo database, please wait...
23 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
24 #
25 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
26 echo "Installing: ncursesw-extra"
27 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
28 fi
29 cd $src
30 mkdir -p $DESTDIR/usr/lib/terminfo
31 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
32 include/Makefile.in
33 ./configure \
34 --libdir=/lib \
35 --sysconfdir=/etc \
36 --with-shared \
37 --without-debug \
38 --without-ada \
39 --with-build-cc="gcc -D_GNU_SOURCE" \
40 $CONFIGURE_ARGS &&
41 make && make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/lib
48 cp -a $install/lib/libncurses.so* $fs/lib
49 }