wok view ncurses-extra/receipt @ rev 15786

Up: OpenVPN PAM (2.3.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 15 18:51:15 2014 +0100 (2014-01-15)
parents c971db4d1bba
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-extra"
4 VERSION="5.9"
5 CATEGORY="base-system"
6 SHORT_DESC="Extra files for the ncurses library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WANTED="ncurses"
10 WEB_SITE="http://invisible-island.net/ncurses/"
12 DEPENDS="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
22 # Remove already provided by other packages
23 #rm -f $fs/usr/bin/ncurses5-config
24 [ -d $WOK/ncurses-common/taz ] || tazwok genpkg ncurses-common
25 for i in $(cd $fs ; find -type f); do
26 [ -f $WOK/ncurses-common/taz/ncurses-common-$VERSION/fs/$i ] || continue
27 rm -f $fs/$i
28 rmdir $(dirname $fs/$i) 2> /dev/null
29 done
30 }