wok-current view ncurses-common/receipt @ rev 16937
ncurses-common: use xterm-256color to fix Shift+Fn keys in mc
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Jul 22 12:09:34 2014 +0200 (2014-07-22) |
parents | 23c3aed67cd9 |
children | fc435bfd951e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-common"
4 VERSION="5.9"
5 CATEGORY="base-system"
6 SHORT_DESC="Common files for the ncurses and ncursesw library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WANTED="ncurses"
10 WEB_SITE="http://invisible-island.net/ncurses/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="glibc-base"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 # Terminfo.
19 mkdir -p $fs/usr/share/terminfo
20 for dir in a l r v x
21 do
22 mkdir $fs/usr/share/terminfo/$dir
23 done
24 cp $install/usr/share/terminfo/a/ansi \
25 $fs/usr/share/terminfo/a
26 cp $install/usr/share/terminfo/l/linux \
27 $fs/usr/share/terminfo/l
28 cp $install/usr/share/terminfo/r/rxvt \
29 $fs/usr/share/terminfo/r
30 # Using 256color by default to fix mc keyshortcuts
31 # (Shift+Fn, affects sakura too!)
32 #cp $install/usr/share/terminfo/x/xterm \
33 #$fs/usr/share/terminfo/x
34 cp $install/usr/share/terminfo/x/xterm-256color \
35 $fs/usr/share/terminfo/x
36 ln -s $fs/usr/share/terminfo/x/xterm-256color \
37 $fs/usr/share/terminfo/x/xterm
38 cp $install/usr/share/terminfo/x/xterm-color \
39 $fs/usr/share/terminfo/x
40 cp $install/usr/share/terminfo/x/xterm-new \
41 $fs/usr/share/terminfo/x
42 cp $install/usr/share/terminfo/x/xterm-vt220 \
43 $fs/usr/share/terminfo/x
44 cp $install/usr/share/terminfo/v/vt100 \
45 $fs/usr/share/terminfo/v
46 cp $install/usr/share/terminfo/v/vt102* \
47 $fs/usr/share/terminfo/v
49 # Tabset.
50 cp -a $install/usr/share/tabset $fs/usr/share
51 }