wok annotate ncurses-extra/receipt @ rev 2026
Add: le
author | Fabrice THIROUX <mimas@slitaz.org> |
---|---|
date | Fri Jan 09 00:01:13 2009 +0100 (2009-01-09) |
parents | 0dd1fcf06ba2 |
children | 64cf592b6880 |
rev | line source |
---|---|
pascal@1528 | 1 # SliTaz package receipt. |
pascal@1528 | 2 |
pascal@1528 | 3 PACKAGE="ncurses-extra" |
pankso@1756 | 4 VERSION="5.7" |
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 |
pascal@1528 | 16 cp -a $_pkg/usr/bin $fs/usr |
pascal@1528 | 17 chmod 755 $fs/usr/bin/* |
pascal@1528 | 18 cp -a $_pkg/usr/share/terminfo $fs/usr/share |
pascal@1528 | 19 # Remove already provided by other packages |
pascal@1528 | 20 rm -f $fs/usr/bin/ncurses5-config |
pascal@1528 | 21 [ -d $WOK/ncurses/taz ] || tazwok genpkg ncurses |
pascal@1528 | 22 for i in $(cd $fs ; find -type f); do |
pascal@1528 | 23 [ -f $WOK/ncurses/taz/ncurses-$VERSION/fs/$i ] || continue |
pascal@1528 | 24 rm -f $fs/$i |
pascal@1528 | 25 rmdir $(dirname $fs/$i) 2> /dev/null |
pascal@1528 | 26 done |
pascal@1528 | 27 } |