wok-6.x annotate ncurses-extra/receipt @ rev 11781
added ghex (2.24.0)
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Feb 23 15:44:13 2012 -0800 (2012-02-23) |
parents | f4b5d278d27b |
children | c971db4d1bba |
rev | line source |
---|---|
pascal@1528 | 1 # SliTaz package receipt. |
pascal@1528 | 2 |
pascal@1528 | 3 PACKAGE="ncurses-extra" |
slaxemulator@9487 | 4 VERSION="5.9" |
pascal@1528 | 5 CATEGORY="base-system" |
pascal@1528 | 6 SHORT_DESC="Extra files for the ncurses library." |
pascal@1528 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1528 | 8 WANTED="ncurses" |
pascal@1528 | 9 DEPENDS="ncurses" |
pascal@1528 | 10 WEB_SITE="http://invisible-island.net/ncurses/" |
pascal@1528 | 11 |
pascal@1528 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1528 | 13 genpkg_rules() |
pascal@1528 | 14 { |
pascal@1528 | 15 mkdir -p $fs/usr/share |
pankso@4884 | 16 # Binaries are provided by ncursesw-extra, we use UTF-8 by default. |
pankso@4884 | 17 #cp -a $_pkg/usr/bin $fs/usr |
pankso@4884 | 18 #chmod 755 $fs/usr/bin/* |
pascal@1528 | 19 cp -a $_pkg/usr/share/terminfo $fs/usr/share |
pascal@1528 | 20 # Remove already provided by other packages |
pankso@4884 | 21 #rm -f $fs/usr/bin/ncurses5-config |
pankso@4884 | 22 [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common |
pascal@1528 | 23 for i in $(cd $fs ; find -type f); do |
pankso@4884 | 24 [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || continue |
pascal@1528 | 25 rm -f $fs/$i |
pascal@1528 | 26 rmdir $(dirname $fs/$i) 2> /dev/null |
pascal@1528 | 27 done |
pascal@1528 | 28 } |