wok-4.x diff slitaz-mercurial-style/receipt @ rev 6592
remove hard coded python2.5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 09 15:31:15 2010 +0200 (2010-10-09) |
parents | 74dcbc43857b |
children | d0fa681cee8d |
line diff
1.1 --- a/slitaz-mercurial-style/receipt Sun Nov 08 23:33:00 2009 +0100 1.2 +++ b/slitaz-mercurial-style/receipt Sat Oct 09 15:31:15 2010 +0200 1.3 @@ -7,11 +7,11 @@ 1.4 DEPENDS="mercurial" 1.5 MAINTAINER="pankso@slitaz.org" 1.6 WEB_SITE="http://www.slitaz.org/" 1.7 -PYTHON_LIB="python2.5" 1.8 1.9 # Rules to gen a SliTaz package suitable for Tazpkg. 1.10 genpkg_rules() 1.11 { 1.12 + PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.13 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial 1.14 cp -a stuff/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial 1.15 chown -R root.root $fs