wok-current diff ncurses-common/receipt @ rev 7712

yasr: add post install
author Paul Issott <paul@slitaz.org>
date Sun Dec 19 15:51:06 2010 +0000 (2010-12-19)
parents
children 7a07e54288a4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ncurses-common/receipt	Sun Dec 19 15:51:06 2010 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ncurses-common"
     1.7 +VERSION="5.7"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Common files for the ncurses and ncursesw library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="ncurses"
    1.12 +WEB_SITE="http://invisible-island.net/ncurses/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	# Terminfo.
    1.18 +    mkdir -p $fs/usr/share/terminfo
    1.19 +    for dir in a l r v x
    1.20 +    do
    1.21 +        mkdir $fs/usr/share/terminfo/$dir
    1.22 +    done
    1.23 +    cp $_pkg/usr/share/terminfo/a/ansi \
    1.24 +    $fs/usr/share/terminfo/a
    1.25 +    cp $_pkg/usr/share/terminfo/l/linux \
    1.26 +    $fs/usr/share/terminfo/l
    1.27 +    cp $_pkg/usr/share/terminfo/r/rxvt \
    1.28 +    $fs/usr/share/terminfo/r
    1.29 +    cp $_pkg/usr/share/terminfo/x/xterm \
    1.30 +    $fs/usr/share/terminfo/x
    1.31 +    cp $_pkg/usr/share/terminfo/x/xterm-color \
    1.32 +    $fs/usr/share/terminfo/x
    1.33 +    cp $_pkg/usr/share/terminfo/x/xterm-new \
    1.34 +    $fs/usr/share/terminfo/x
    1.35 +    cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
    1.36 +    $fs/usr/share/terminfo/x
    1.37 +    cp $_pkg/usr/share/terminfo/v/vt100 \
    1.38 +    $fs/usr/share/terminfo/v
    1.39 +    cp $_pkg/usr/share/terminfo/v/vt102* \
    1.40 +    $fs/usr/share/terminfo/v
    1.41 +    
    1.42 +    # Tabset.
    1.43 +    cp -a $_pkg/usr/share/tabset $fs/usr/share
    1.44 +}