wok-6.x view ncurses-extra/receipt @ rev 24973
Up zsh (5.8.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 15:03:44 2022 +0000 (2022-05-01) |
parents | a7abacf75d6d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-extra"
4 VERSION="6.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Extra files for the ncurses library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html"
11 DEPENDS="ncurses"
12 WANTED="ncurses"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share
18 # Binaries are provided by ncursesw-extra, we use UTF-8 by default.
19 #cp -a $install/usr/bin $fs/usr
20 #chmod 755 $fs/usr/bin/*
21 cp -a $install/usr/share/terminfo $fs/usr/share
23 # Remove files already provided by other packages
24 #rm -f $fs/usr/bin/ncurses5-config
25 [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common
26 for i in $(cd $fs ; find -type f)
27 do
28 [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] ||
29 continue
30 rm -f $fs/$i
31 rmdir $(dirname $fs/$i) 2> /dev/null
32 done
33 }