wok-next view ncurses/receipt @ rev 12775

Fix typo in last commit
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 04:51:07 2012 +0200 (2012-05-13)
parents 4478a745a1e5
children e2b4ebabd30f
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="gcc"
16 # Rules to compile & install the temporary toolchain.
17 cook_tmp_toolchain()
18 {
19 cd $src
20 ./configure --with-shared --without-debug \
21 --without-ada --enable-overwrite &&
22 make && make install
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
29 # when cross compiling we can't use the freshly cooked binary. See cook log:
30 #
31 #** Building terminfo database, please wait...
32 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
33 #
34 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
35 tazpkg get-install ncursesw-extra
36 fi
37 cd $src
38 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
39 include/Makefile.in
40 ./configure \
41 --libdir=/lib \
42 --sysconfdir=/etc \
43 --with-shared \
44 --without-debug \
45 --without-ada \
46 --with-build-cc="gcc -D_GNU_SOURCE" \
47 $CONFIGURE_ARGS &&
48 make && make install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/lib
55 cp -a $install/lib/libncurses.so* $fs/lib
56 }