wok-stable view ncurses/receipt @ rev 3652

up: claws-mail-vcalendar (2.0.5)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jul 06 23:01:31 2009 +0200 (2009-07-06)
parents f6c953fb3a61
children 64cf592b6880
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 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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $PACKAGE-$VERSION
16 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
17 include/Makefile.in
18 ./configure --prefix=/usr \
19 --libdir=/lib --sysconfdir=/etc \
20 --infodir=/usr/share/info --mandir=/usr/share/man \
21 --with-shared --without-debug --without-ada \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/lib $fs/usr/bin
32 # Libs.
33 cp -a $_pkg/lib/libncurses.so* $fs/lib
34 strip --strip-unneeded $fs/lib/*.so*
36 # Base progs.
37 cp $_pkg/usr/bin/clear $fs/usr/bin
38 cp $_pkg/usr/bin/tset $fs/usr/bin
39 cp $_pkg/usr/bin/reset $fs/usr/bin
41 # Terminfo.
42 mkdir -p $fs/usr/share/terminfo
43 for dir in a l r v x
44 do
45 mkdir $fs/usr/share/terminfo/$dir
46 done
47 cp $_pkg/usr/share/terminfo/a/ansi \
48 $fs/usr/share/terminfo/a
49 cp $_pkg/usr/share/terminfo/l/linux \
50 $fs/usr/share/terminfo/l
51 cp $_pkg/usr/share/terminfo/r/rxvt \
52 $fs/usr/share/terminfo/r
53 cp $_pkg/usr/share/terminfo/x/xterm \
54 $fs/usr/share/terminfo/x
55 cp $_pkg/usr/share/terminfo/x/xterm-color \
56 $fs/usr/share/terminfo/x
57 cp $_pkg/usr/share/terminfo/x/xterm-new \
58 $fs/usr/share/terminfo/x
59 cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
60 $fs/usr/share/terminfo/x
61 cp $_pkg/usr/share/terminfo/v/vt100 \
62 $fs/usr/share/terminfo/v
63 cp $_pkg/usr/share/terminfo/v/vt102* \
64 $fs/usr/share/terminfo/v
66 # Tabset.
67 cp -a $_pkg/usr/share/tabset $fs/usr/share
68 }