wok-next diff ncurses-extra/receipt @ rev 1744

Add mtop/mkill
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 22 21:34:01 2008 +0000 (2008-11-22)
parents
children f6c953fb3a61
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ncurses-extra/receipt	Sat Nov 22 21:34:01 2008 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ncurses-extra"
     1.7 +VERSION="5.6"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Extra files for the ncurses library."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WANTED="ncurses"
    1.12 +DEPENDS="ncurses"
    1.13 +WEB_SITE="http://invisible-island.net/ncurses/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/share
    1.19 +	cp -a $_pkg/usr/bin $fs/usr
    1.20 +	chmod 755 $fs/usr/bin/*
    1.21 +	cp -a $_pkg/usr/share/terminfo $fs/usr/share
    1.22 +	# Remove already provided by other packages
    1.23 +	rm -f $fs/usr/bin/ncurses5-config
    1.24 +	[ -d $WOK/ncurses/taz ] || tazwok genpkg ncurses
    1.25 +	for i in $(cd $fs ; find -type f); do
    1.26 +		[ -f $WOK/ncurses/taz/ncurses-$VERSION/fs/$i ] || continue
    1.27 +		rm -f $fs/$i
    1.28 +		rmdir $(dirname $fs/$i) 2> /dev/null
    1.29 +	done
    1.30 +}