# HG changeset patch # User Christopher Rogers # Date 1301695749 0 # Node ID 7299f106a36ef21c0486cd711ae5eecb363643f6 # Parent 8e887cb36bd7f61fed9192ab3c467c1d847c0d95 Up: mercurial to 1.8.2. diff -r 8e887cb36bd7 -r 7299f106a36e mercurial/receipt --- a/mercurial/receipt Sat Apr 02 01:31:20 2011 +0200 +++ b/mercurial/receipt Fri Apr 01 22:09:09 2011 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="mercurial" -VERSION="1.8.1" +VERSION="1.8.2" CATEGORY="development" SHORT_DESC="Revision tools system." MAINTAINER="pankso@slitaz.org" @@ -16,8 +16,9 @@ compile_rules() { cd $src - #make install PREFIX=$PWD/_pkg/usr - python setup.py install --root="$PWD/_pkg/" --optimize=1 + python setup.py install --root="$DESTDIR" --optimize=1 + mkdir -p $DESTDIR/usr/share/examples/mercurial + cp -a $src/hgweb.cgi $DESTDIR/usr/share/examples/mercurial } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -28,15 +29,12 @@ cp -a $_pkg/usr/lib $fs/usr # Examples - cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial - cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial - cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial + cp -a $stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial + cp -a $stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial # Config file for hgweb mkdir -p $fs/etc/mercurial - cp -a stuff/hgweb.config $fs/etc/mercurial + cp -a $stuff/hgweb.config $fs/etc/mercurial - find $fs -name "*.pyc" -delete - find $fs -name "*.pyo" -delete chown -R root.root $fs }