wok-current view ncurses-extra/receipt @ rev 25586
Fix linux build with gcc > 6 again
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 29 12:23:26 2023 +0000 (19 months ago) |
parents | a7abacf75d6d |
children | 5926178cd6fa |
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 }