wok-next diff mercurial/receipt @ rev 7170
Forgot to make /usr/lib folder for libpcap package.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 19:15:36 2010 +0000 (2010-11-07) |
parents | bca0f176c4d5 |
children | 72bf20ddeee0 |
line diff
1.1 --- a/mercurial/receipt Sat Oct 02 17:27:57 2010 +0000 1.2 +++ b/mercurial/receipt Sun Nov 07 19:15:36 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 }