wok-next view ncurses/receipt @ rev 16146
Move kompozer to undigest (not compiling for a long time and not realy maintained)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 21:49:28 2014 +0100 (2014-03-26) |
parents | c971db4d1bba |
children | b7f4c5ebbd6a |
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"
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
21 # when cross compiling we can't use the freshly cooked binary. See cook log:
22 #
23 #** Building terminfo database, please wait...
24 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
25 #
26 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
27 echo "Installing: ncursesw-extra"
28 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
29 fi
30 cd $src
31 mkdir -p $DESTDIR/usr/lib/terminfo
32 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
33 include/Makefile.in
34 ./configure \
35 --libdir=/lib \
36 --sysconfdir=/etc \
37 --with-shared \
38 --without-debug \
39 --without-ada \
40 --with-build-cc="gcc -D_GNU_SOURCE" \
41 $CONFIGURE_ARGS &&
42 make && make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/lib
49 cp -a $install/lib/libncurses.so* $fs/lib
50 }