wok view ncurses-extra/receipt @ rev 9858
removed old tazbb (will keep a copy in slitaz-dev-tools
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 15:38:06 2011 +0200 (2011-05-16) |
parents | f4b5d278d27b |
children | c971db4d1bba |
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 DEPENDS="ncurses"
10 WEB_SITE="http://invisible-island.net/ncurses/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share
16 # Binaries are provided by ncursesw-extra, we use UTF-8 by default.
17 #cp -a $_pkg/usr/bin $fs/usr
18 #chmod 755 $fs/usr/bin/*
19 cp -a $_pkg/usr/share/terminfo $fs/usr/share
20 # Remove already provided by other packages
21 #rm -f $fs/usr/bin/ncurses5-config
22 [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common
23 for i in $(cd $fs ; find -type f); do
24 [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || continue
25 rm -f $fs/$i
26 rmdir $(dirname $fs/$i) 2> /dev/null
27 done
28 }