wok-stable rev 9446

Up: mercurial to 1.8.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Apr 01 22:09:09 2011 +0000 (2011-04-01)
parents 8e887cb36bd7
children 1667aade4f62
files mercurial/receipt
line diff
     1.1 --- a/mercurial/receipt	Sat Apr 02 01:31:20 2011 +0200
     1.2 +++ b/mercurial/receipt	Fri Apr 01 22:09:09 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mercurial"
     1.7 -VERSION="1.8.1"
     1.8 +VERSION="1.8.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Revision tools system."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -16,8 +16,9 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	#make install PREFIX=$PWD/_pkg/usr
    1.17 -	python setup.py install --root="$PWD/_pkg/" --optimize=1
    1.18 +	python setup.py install --root="$DESTDIR" --optimize=1
    1.19 +	mkdir -p $DESTDIR/usr/share/examples/mercurial
    1.20 +	cp -a $src/hgweb.cgi $DESTDIR/usr/share/examples/mercurial
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 @@ -28,15 +29,12 @@
    1.25  	cp -a $_pkg/usr/lib $fs/usr
    1.26  
    1.27  	# Examples
    1.28 -	cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial
    1.29 -	cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
    1.30 -	cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
    1.31 +	cp -a $stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
    1.32 +	cp -a $stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
    1.33  
    1.34  	# Config file for hgweb
    1.35  	mkdir -p $fs/etc/mercurial
    1.36 -	cp -a stuff/hgweb.config $fs/etc/mercurial
    1.37 +	cp -a $stuff/hgweb.config $fs/etc/mercurial
    1.38  	
    1.39 -	find $fs -name "*.pyc" -delete
    1.40 -	find $fs -name "*.pyo" -delete
    1.41  	chown -R root.root $fs
    1.42  }