wok annotate mercurial/receipt @ rev 9995

gobby: fix bdeps and typo
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu May 19 01:07:29 2011 +0200 (2011-05-19)
parents 7299f106a36e
children 2f2ae382c2e0
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="mercurial"
slaxemulator@9446 4 VERSION="1.8.2"
pankso@204 5 CATEGORY="development"
pankso@29 6 SHORT_DESC="Revision tools system."
pankso@29 7 MAINTAINER="pankso@slitaz.org"
erjo@9673 8 DEPENDS="python patch libssl"
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@9446 19 python setup.py install --root="$DESTDIR" --optimize=1
slaxemulator@9446 20 mkdir -p $DESTDIR/usr/share/examples/mercurial
slaxemulator@9446 21 cp -a $src/hgweb.cgi $DESTDIR/usr/share/examples/mercurial
pankso@29 22 }
pankso@29 23
pankso@29 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 25 genpkg_rules()
pankso@29 26 {
pankso@29 27 mkdir -p $fs/usr/share/examples/mercurial
pankso@29 28 cp -a $_pkg/usr/bin $fs/usr
pankso@29 29 cp -a $_pkg/usr/lib $fs/usr
pankso@4464 30
pankso@29 31 # Examples
slaxemulator@9446 32 cp -a $stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
slaxemulator@9446 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
slaxemulator@9446 37 cp -a $stuff/hgweb.config $fs/etc/mercurial
slaxemulator@7117 38
pankso@29 39 chown -R root.root $fs
pankso@29 40 }