wok-current view ncurses-common/receipt @ rev 9402
git: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 27 16:56:58 2011 +0200 (2011-03-27) |
parents | 7a07e54288a4 |
children | 70c50cf7bbf2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-common"
4 VERSION="5.8"
5 CATEGORY="base-system"
6 SHORT_DESC="Common files for the ncurses and ncursesw library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 WANTED="ncurses"
10 WEB_SITE="http://invisible-island.net/ncurses/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 # Terminfo.
16 mkdir -p $fs/usr/share/terminfo
17 for dir in a l r v x
18 do
19 mkdir $fs/usr/share/terminfo/$dir
20 done
21 cp $_pkg/usr/share/terminfo/a/ansi \
22 $fs/usr/share/terminfo/a
23 cp $_pkg/usr/share/terminfo/l/linux \
24 $fs/usr/share/terminfo/l
25 cp $_pkg/usr/share/terminfo/r/rxvt \
26 $fs/usr/share/terminfo/r
27 cp $_pkg/usr/share/terminfo/x/xterm \
28 $fs/usr/share/terminfo/x
29 cp $_pkg/usr/share/terminfo/x/xterm-color \
30 $fs/usr/share/terminfo/x
31 cp $_pkg/usr/share/terminfo/x/xterm-new \
32 $fs/usr/share/terminfo/x
33 cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
34 $fs/usr/share/terminfo/x
35 cp $_pkg/usr/share/terminfo/v/vt100 \
36 $fs/usr/share/terminfo/v
37 cp $_pkg/usr/share/terminfo/v/vt102* \
38 $fs/usr/share/terminfo/v
40 # Tabset.
41 cp -a $_pkg/usr/share/tabset $fs/usr/share
42 }