# HG changeset patch # User Pascal Bellard # Date 1223543560 0 # Node ID 0dd1fcf06ba22f76be48650c9775edc534489de1 # Parent 25178b5b6fbe13bb846aeafdc1ca595b4433f9c0 Add ncurses-extra ncurses-man diff -r 25178b5b6fbe -r 0dd1fcf06ba2 ncurses-extra/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncurses-extra/receipt Thu Oct 09 09:12:40 2008 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="ncurses-extra" +VERSION="5.6" +CATEGORY="base-system" +SHORT_DESC="Extra files for the ncurses library." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="ncurses" +DEPENDS="ncurses" +WEB_SITE="http://invisible-island.net/ncurses/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + chmod 755 $fs/usr/bin/* + cp -a $_pkg/usr/share/terminfo $fs/usr/share + # Remove already provided by other packages + rm -f $fs/usr/bin/ncurses5-config + [ -d $WOK/ncurses/taz ] || tazwok genpkg ncurses + for i in $(cd $fs ; find -type f); do + [ -f $WOK/ncurses/taz/ncurses-$VERSION/fs/$i ] || continue + rm -f $fs/$i + rmdir $(dirname $fs/$i) 2> /dev/null + done +} diff -r 25178b5b6fbe -r 0dd1fcf06ba2 ncurses-man/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncurses-man/receipt Thu Oct 09 09:12:40 2008 +0000 @@ -0,0 +1,16 @@ +# SliTaz package receipt. + +PACKAGE="ncurses-man" +VERSION="5.6" +CATEGORY="development" +SHORT_DESC="Manual pages for the ncurses library." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="ncurses" +WEB_SITE="http://invisible-island.net/ncurses/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/share/man $fs/usr +}