wok-6.x view ncurses/receipt @ rev 4884
Add ncursesw (UTF-8 support for curses libs) and modify ncurses pkg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 05 23:13:39 2010 +0100 (2010-02-05) |
parents | aa0dad286215 |
children | 86b10c2ec3e1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses"
4 VERSION="5.7"
5 CATEGORY="base-system"
6 SHORT_DESC="Library of functions to manage display on terminals."
7 DEPENDS="ncurses-common"
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://invisible-island.net/ncurses/"
11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
18 include/Makefile.in
19 ./configure \
20 --prefix=/usr \
21 --libdir=/lib \
22 --sysconfdir=/etc \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --with-shared \
26 --without-debug \
27 --without-ada \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/lib
37 cp -a $_pkg/lib/libncurses.so* $fs/lib
38 }