wok-current view ncursesw/receipt @ rev 6572

busybox-static: add conspy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 08 13:34:29 2010 +0200 (2010-10-08)
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 }