wok view ncurses/receipt @ rev 14814
Up: squidquardmgr (1.12)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:39:14 2013 +0200 (2013-07-17) |
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 }