wok view ncurses/receipt @ rev 395

Slitaz-loram: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 10 10:41:39 2008 +0000 (2008-03-10)
parents cdac43c3f44f
children ba36d412d836
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses"
4 VERSION="5.6"
5 CATEGORY="base-system"
6 SHORT_DESC="Library of functions to manage display on teminals."
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 ./configure --prefix=/usr \
17 --libdir=/lib --sysconfdir=/etc \
18 --infodir=/usr/share/info --mandir=/usr/share/man \
19 --with-shared --without-debug --without-ada \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/lib $fs/usr/bin
30 # Libs.
31 cp -a $_pkg/lib/libncurses.so* $fs/lib
32 strip --strip-unneeded $fs/lib/*.so*
34 # Base progs.
35 cp $_pkg/usr/bin/clear $fs/usr/bin
36 cp $_pkg/usr/bin/tset $fs/usr/bin
37 cp $_pkg/usr/bin/reset $fs/usr/bin
39 # Terminfo.
40 mkdir -p $fs/usr/share/terminfo
41 for dir in a l r v x
42 do
43 mkdir $fs/usr/share/terminfo/$dir
44 done
45 cp $_pkg/usr/share/terminfo/a/ansi \
46 $fs/usr/share/terminfo/a
47 cp $_pkg/usr/share/terminfo/l/linux \
48 $fs/usr/share/terminfo/l
49 cp $_pkg/usr/share/terminfo/r/rxvt \
50 $fs/usr/share/terminfo/r
51 cp $_pkg/usr/share/terminfo/x/xterm \
52 $fs/usr/share/terminfo/x
53 cp $_pkg/usr/share/terminfo/x/xterm-color \
54 $fs/usr/share/terminfo/x
55 cp $_pkg/usr/share/terminfo/x/xterm-new \
56 $fs/usr/share/terminfo/x
57 cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
58 $fs/usr/share/terminfo/x
59 cp $_pkg/usr/share/terminfo/v/vt100 \
60 $fs/usr/share/terminfo/v
61 cp $_pkg/usr/share/terminfo/v/vt102* \
62 $fs/usr/share/terminfo/v
64 # Tabset.
65 cp -a $_pkg/usr/share/tabset $fs/usr/share
66 }