# SliTaz package receipt. PACKAGE="ncurses-extra" VERSION="6.3" CATEGORY="base-system" SHORT_DESC="Extra files for the ncurses library." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html" DEPENDS="ncurses" WANTED="ncurses" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share # Binaries are provided by ncursesw-extra, we use UTF-8 by default. #cp -a $install/usr/bin $fs/usr #chmod 755 $fs/usr/bin/* cp -a $install/usr/share/terminfo $fs/usr/share # Remove files already provided by other packages #rm -f $fs/usr/bin/ncurses5-config [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common for i in $(cd $fs ; find -type f) do [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || continue rm -f $fs/$i rmdir $(dirname $fs/$i) 2> /dev/null done }