wok-stable view ncursesw/receipt @ rev 5793

Up pam_ldap (185)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 11:13:31 2010 +0200 (2010-07-11)
parents
children 343b99a69999
line source
1 # SliTaz package receipt.
3 PACKAGE="ncursesw"
4 VERSION="5.7"
5 SOURCE="ncurses"
6 CATEGORY="base-system"
7 SHORT_DESC="Library of functions to manage display on terminals."
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$SOURCE-$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 --enable-widec \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/lib $fs/usr/bin
39 # Libs.
40 cp -a $_pkg/lib/libncursesw.so* $fs/lib
42 # Base progs.
43 cp $_pkg/usr/bin/clear $fs/usr/bin
44 cp $_pkg/usr/bin/tset $fs/usr/bin
45 cp $_pkg/usr/bin/reset $fs/usr/bin
46 }