wok-current view ncurses-extra/receipt @ rev 23846

created recipe for python-random2
author Hans-G?nter Theisgen
date Sat Jun 13 15:49:44 2020 +0100 (2020-06-13)
parents 94ece03c2cb1
children 24801b09d2f7
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-extra"
4 VERSION="6.2"
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 }