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

aaphoto, joe, kmod, mplayer-svn, polkit-dev, polkit-pam, ruby-enterprise, wordpress, xfe-extras: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 16:33:12 2012 +0200 (2012-06-11)
parents e2b4ebabd30f
children c971db4d1bba
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 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
31 include/Makefile.in
32 ./configure \
33 --libdir=/lib \
34 --sysconfdir=/etc \
35 --with-shared \
36 --without-debug \
37 --without-ada \
38 --with-build-cc="gcc -D_GNU_SOURCE" \
39 $CONFIGURE_ARGS &&
40 make && make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/lib
47 cp -a $install/lib/libncurses.so* $fs/lib
48 }