wok view ncurses-extra/receipt @ rev 3167
Up: opal (3.6.2) + rm dep on libiconv
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 25 01:21:47 2009 +0200 (2009-05-25) |
parents | 0dd1fcf06ba2 |
children | 64cf592b6880 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-extra"
4 VERSION="5.7"
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 cp -a $_pkg/usr/bin $fs/usr
17 chmod 755 $fs/usr/bin/*
18 cp -a $_pkg/usr/share/terminfo $fs/usr/share
19 # Remove already provided by other packages
20 rm -f $fs/usr/bin/ncurses5-config
21 [ -d $WOK/ncurses/taz ] || tazwok genpkg ncurses
22 for i in $(cd $fs ; find -type f); do
23 [ -f $WOK/ncurses/taz/ncurses-$VERSION/fs/$i ] || continue
24 rm -f $fs/$i
25 rmdir $(dirname $fs/$i) 2> /dev/null
26 done
27 }