wok rev 7117
Up: mercurial to 1.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 04 15:53:19 2010 +0000 (2010-11-04) |
parents | 0e0d931eb4d2 |
children | 9d1b6783da36 |
files | mercurial/receipt |
line diff
1.1 --- a/mercurial/receipt Thu Nov 04 03:25:11 2010 +0000 1.2 +++ b/mercurial/receipt Thu Nov 04 15:53:19 2010 +0000 1.3 @@ -1,12 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mercurial" 1.7 -VERSION="1.6.4" 1.8 +VERSION="1.7" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Revision tools system." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 DEPENDS="python patch openssl" 1.13 -BUILD_DEPENDS="python-dev patch openssl-dev" 1.14 +BUILD_DEPENDS="python python-dev patch openssl-dev" 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WEB_SITE="http://mercurial.selenic.com/" 1.17 WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL" 1.18 @@ -16,7 +16,8 @@ 1.19 compile_rules() 1.20 { 1.21 cd $src 1.22 - make install PREFIX=$PWD/_pkg/usr 1.23 + #make install PREFIX=$PWD/_pkg/usr 1.24 + python setup.py install --root="$PWD/_pkg/" --optimize=1 1.25 } 1.26 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 @@ -34,6 +35,8 @@ 1.29 # Config file for hgweb 1.30 mkdir -p $fs/etc/mercurial 1.31 cp -a stuff/hgweb.config $fs/etc/mercurial 1.32 - 1.33 + 1.34 + find $fs -name "*.pyc" -delete 1.35 + find $fs -name "*.pyo" -delete 1.36 chown -R root.root $fs 1.37 }