wok-current diff newt/receipt @ rev 3461
mirror-tools/search.cgi: add receipt object
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 16 09:22:41 2009 +0200 (2009-06-16) |
parents | d4b161735a3e |
children | a40238673a42 |
line diff
1.1 --- a/newt/receipt Mon Mar 16 22:26:55 2009 +0000 1.2 +++ b/newt/receipt Tue Jun 16 09:22:41 2009 +0200 1.3 @@ -19,8 +19,12 @@ 1.4 # Fixe group/owner 1.5 chown -R root.root $src 1.6 1.7 - sed -i -e "s/python2.4/$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')" \ 1.8 - -e "s/tcl8.4/$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')/" \ 1.9 + python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|') 1.10 + tcl=$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|') 1.11 + 1.12 + echo "Patching for $python and $tcl..." 1.13 + sed -i -e "s/python2.4/$python/" \ 1.14 + -e "s/tcl8.4/$tcl/" \ 1.15 Makefile.in 1.16 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.17 --mandir=/usr/share/man $CONFIGURE_ARGS &&