wok-next annotate mercurial/receipt @ rev 8358
Up: mercurial to 1.7.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 03 15:58:22 2011 +0000 (2011-02-03) |
parents | d512f9912ab7 |
children | da11c5611f49 |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="mercurial" |
slaxemulator@8358 | 4 VERSION="1.7.5" |
pankso@204 | 5 CATEGORY="development" |
pankso@29 | 6 SHORT_DESC="Revision tools system." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@29 | 8 DEPENDS="python patch openssl" |
slaxemulator@7117 | 9 BUILD_DEPENDS="python python-dev patch openssl-dev" |
pankso@29 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4464 | 11 WEB_SITE="http://mercurial.selenic.com/" |
pankso@29 | 12 WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL" |
pankso@5646 | 13 CONFIG_FILES="/etc/mercurial/hgweb.config" |
pankso@29 | 14 |
pankso@29 | 15 # Rules to configure and make the package. |
pankso@29 | 16 compile_rules() |
pankso@29 | 17 { |
pankso@29 | 18 cd $src |
slaxemulator@7117 | 19 #make install PREFIX=$PWD/_pkg/usr |
slaxemulator@7117 | 20 python setup.py install --root="$PWD/_pkg/" --optimize=1 |
pankso@29 | 21 } |
pankso@29 | 22 |
pankso@29 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 24 genpkg_rules() |
pankso@29 | 25 { |
pankso@29 | 26 mkdir -p $fs/usr/share/examples/mercurial |
pankso@29 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@29 | 28 cp -a $_pkg/usr/lib $fs/usr |
pankso@4464 | 29 |
pankso@29 | 30 # Examples |
pankso@29 | 31 cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial |
pankso@29 | 32 cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial |
pankso@29 | 33 cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial |
pankso@4464 | 34 |
pankso@29 | 35 # Config file for hgweb |
pankso@29 | 36 mkdir -p $fs/etc/mercurial |
pankso@29 | 37 cp -a stuff/hgweb.config $fs/etc/mercurial |
slaxemulator@7117 | 38 |
slaxemulator@7117 | 39 find $fs -name "*.pyc" -delete |
slaxemulator@7117 | 40 find $fs -name "*.pyo" -delete |
pankso@29 | 41 chown -R root.root $fs |
pankso@29 | 42 } |