wok-next rev 11615

mc: add gpm support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 23 12:01:58 2012 +0100 (2012-01-23)
parents 7b70294d9737
children 58d25f770bfe
files gpm-dev/receipt mc/receipt nanochess/receipt
line diff
     1.1 --- a/gpm-dev/receipt	Sat Jan 21 23:16:13 2012 +0100
     1.2 +++ b/gpm-dev/receipt	Mon Jan 23 12:01:58 2012 +0100
     1.3 @@ -7,6 +7,7 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  WEB_SITE="ftp://ftp.linux.it/pub/People/rubini/$PACKAGE"
     1.6  WANTED="gpm"
     1.7 +DEPENDS="gpm"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
     2.1 --- a/mc/receipt	Sat Jan 21 23:16:13 2012 +0100
     2.2 +++ b/mc/receipt	Mon Jan 23 12:01:58 2012 +0100
     2.3 @@ -7,7 +7,7 @@
     2.4  SHORT_DESC="Midnight Commander - ncurses based file manager."
     2.5  MAINTAINER="erjo@slitaz.org"
     2.6  DEPENDS="ncursesw glib e2fsprogs"
     2.7 -BUILD_DEPENDS="pkg-config"
     2.8 +BUILD_DEPENDS="pkg-config gpm-dev"
     2.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.10  WEB_SITE="http://www.midnight-commander.org/"
    2.11  WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
    2.12 @@ -17,6 +17,7 @@
    2.13  {
    2.14  	cd $src
    2.15  	./configure --prefix=/usr \
    2.16 +	--with-gpm-mouse \
    2.17  	--with-screen=ncurses \
    2.18  	--infodir=/usr/share/info \
    2.19  	--libexecdir=/usr/lib \
     3.1 --- a/nanochess/receipt	Sat Jan 21 23:16:13 2012 +0100
     3.2 +++ b/nanochess/receipt	Mon Jan 23 12:01:58 2012 +0100
     3.3 @@ -18,8 +18,8 @@
     3.4  	  -e 's|for(a=|H=innerHeight/9;P=H*5/6;|' -e 's/^"<table/for(a=&/' \
     3.5  	  -e 's/f0f":"c0c")+"0f0/f0f":"606")+"0c0/' -e 's/e0e0f0/b0b080/' \
     3.6  	  -e 's/><option.*$/>";/' -e 's|^doc.*|for(p=18;++p<23;)a+="<option>\&#98"+p+";</option>";document.write(a);|' \
     3.7 -	  -e 's|<scrip.*|<title>Toledo chess</title>&\nvar go=/[\\?]b.*/i.test(document.URL)?8:0|' \
     3.8 -	  -e 's|function Y|function Z(){if(y!=go)setTimeout("X(0,0,0,21,u,2),X(0,0,0,21,u,1)",250);}\n&|' \
     3.9 +	  -e 's|<script>|<title>Toledo chess</title>&|' \
    3.10 +	  -e 's|function Y|function Z(){if(y!=/\\?b/i.test(document.URL)?8:0)setTimeout("X(0,0,0,21,u,2),X(0,0,0,21,u,1)",250);}\n&|' \
    3.11  	  -e 's|if(y)set.*|Z();}}Z()|' \
    3.12  		index.html
    3.13  }