wok-current annotate ncurses-extra/receipt @ rev 24374
avrdude: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 17:11:25 2022 +0000 (2022-02-05) |
parents | 94ece03c2cb1 |
children | 24801b09d2f7 |
rev | line source |
---|---|
pascal@1528 | 1 # SliTaz package receipt. |
pascal@1528 | 2 |
pascal@1528 | 3 PACKAGE="ncurses-extra" |
Hans-G?nter@23231 | 4 VERSION="6.2" |
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" |
Hans-G?nter@21526 | 9 WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html" |
pascal@15083 | 10 |
pascal@1528 | 11 DEPENDS="ncurses" |
Hans-G?nter@21526 | 12 WANTED="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/* |
Hans-G?nter@21526 | 21 cp -a $install/usr/share/terminfo $fs/usr/share |
Hans-G?nter@23231 | 22 |
Hans-G?nter@21526 | 23 # Remove files already provided by other packages |
pankso@4884 | 24 #rm -f $fs/usr/bin/ncurses5-config |
pankso@4884 | 25 [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common |
Hans-G?nter@23231 | 26 for i in $(cd $fs ; find -type f) |
Hans-G?nter@23231 | 27 do |
Hans-G?nter@23231 | 28 [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || |
Hans-G?nter@23231 | 29 continue |
pascal@1528 | 30 rm -f $fs/$i |
pascal@1528 | 31 rmdir $(dirname $fs/$i) 2> /dev/null |
Hans-G?nter@23231 | 32 done |
pascal@1528 | 33 } |