wok-current annotate ncurses-common/receipt @ rev 14507

Add get-src2pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:26:31 2013 +0200 (2013-05-14)
parents 70c50cf7bbf2
children c971db4d1bba
rev   line source
pankso@4884 1 # SliTaz package receipt.
pankso@4884 2
pankso@4884 3 PACKAGE="ncurses-common"
slaxemulator@9487 4 VERSION="5.9"
pankso@4884 5 CATEGORY="base-system"
pankso@4884 6 SHORT_DESC="Common files for the ncurses and ncursesw library."
pankso@4884 7 MAINTAINER="pankso@slitaz.org"
gokhlayeh@8202 8 DEPENDS="glibc-base"
pankso@4884 9 WANTED="ncurses"
pankso@4884 10 WEB_SITE="http://invisible-island.net/ncurses/"
pankso@12773 11 HOST_ARCH="i486 arm"
pankso@4884 12
pankso@4884 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4884 14 genpkg_rules()
pankso@4884 15 {
pankso@4884 16 # Terminfo.
pankso@4884 17 mkdir -p $fs/usr/share/terminfo
pankso@4884 18 for dir in a l r v x
pankso@4884 19 do
pankso@4884 20 mkdir $fs/usr/share/terminfo/$dir
pankso@4884 21 done
pankso@4884 22 cp $_pkg/usr/share/terminfo/a/ansi \
pankso@4884 23 $fs/usr/share/terminfo/a
pankso@4884 24 cp $_pkg/usr/share/terminfo/l/linux \
pankso@4884 25 $fs/usr/share/terminfo/l
pankso@4884 26 cp $_pkg/usr/share/terminfo/r/rxvt \
pankso@4884 27 $fs/usr/share/terminfo/r
pankso@4884 28 cp $_pkg/usr/share/terminfo/x/xterm \
pankso@4884 29 $fs/usr/share/terminfo/x
pankso@4884 30 cp $_pkg/usr/share/terminfo/x/xterm-color \
pankso@4884 31 $fs/usr/share/terminfo/x
pankso@4884 32 cp $_pkg/usr/share/terminfo/x/xterm-new \
pankso@4884 33 $fs/usr/share/terminfo/x
pankso@4884 34 cp $_pkg/usr/share/terminfo/x/xterm-vt220 \
pankso@4884 35 $fs/usr/share/terminfo/x
pankso@4884 36 cp $_pkg/usr/share/terminfo/v/vt100 \
pankso@4884 37 $fs/usr/share/terminfo/v
pankso@4884 38 cp $_pkg/usr/share/terminfo/v/vt102* \
pankso@4884 39 $fs/usr/share/terminfo/v
pankso@12773 40
pankso@4884 41 # Tabset.
pankso@4884 42 cp -a $_pkg/usr/share/tabset $fs/usr/share
pankso@4884 43 }