wok-current annotate ncurses-extra/receipt @ rev 15615
sudoku-savant: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 08:30:57 2013 +0000 (2013-12-08) |
parents | c971db4d1bba |
children | a78610b2eb47 |
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@15601 | 8 LICENSE="MIT" |
pascal@1528 | 9 WANTED="ncurses" |
pascal@15083 | 10 WEB_SITE="http://invisible-island.net/ncurses/" |
pascal@15083 | 11 |
pascal@1528 | 12 DEPENDS="ncurses" |
pascal@1528 | 13 |
pascal@1528 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1528 | 15 genpkg_rules() |
pascal@1528 | 16 { |
pascal@1528 | 17 mkdir -p $fs/usr/share |
pankso@4884 | 18 # Binaries are provided by ncursesw-extra, we use UTF-8 by default. |
pascal@15083 | 19 #cp -a $install/usr/bin $fs/usr |
pankso@4884 | 20 #chmod 755 $fs/usr/bin/* |
pascal@15083 | 21 cp -a $install/usr/share/terminfo $fs/usr/share |
pascal@1528 | 22 # Remove already provided by other packages |
pankso@4884 | 23 #rm -f $fs/usr/bin/ncurses5-config |
pankso@4884 | 24 [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common |
pascal@1528 | 25 for i in $(cd $fs ; find -type f); do |
pankso@4884 | 26 [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || continue |
pascal@1528 | 27 rm -f $fs/$i |
pascal@1528 | 28 rmdir $(dirname $fs/$i) 2> /dev/null |
pascal@1528 | 29 done |
pascal@1528 | 30 } |