wok-next view ncurses-extra/receipt @ rev 15083
ncurses: needs /usr/lib/terminfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 20:05:59 2013 +0000 (2013-08-13) |
parents | 70c50cf7bbf2 |
children | 23c3aed67cd9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-extra"
4 VERSION="5.9"
5 CATEGORY="base-system"
6 SHORT_DESC="Extra files for the ncurses library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WANTED="ncurses"
9 WEB_SITE="http://invisible-island.net/ncurses/"
11 DEPENDS="ncurses"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share
17 # Binaries are provided by ncursesw-extra, we use UTF-8 by default.
18 #cp -a $install/usr/bin $fs/usr
19 #chmod 755 $fs/usr/bin/*
20 cp -a $install/usr/share/terminfo $fs/usr/share
21 # Remove already provided by other packages
22 #rm -f $fs/usr/bin/ncurses5-config
23 [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common
24 for i in $(cd $fs ; find -type f); do
25 [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || continue
26 rm -f $fs/$i
27 rmdir $(dirname $fs/$i) 2> /dev/null
28 done
29 }