wok-current annotate mercurial/receipt @ rev 5697

Up: sudo* (1.7.2p7)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jun 18 16:07:40 2010 +0200 (2010-06-18)
parents bddca9cd4c25
children 4d15994ef7bd
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="mercurial"
slaxemulator@5492 4 VERSION="1.5.2"
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"
pascal@1511 9 BUILD_DEPENDS="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
pankso@29 19 make install PREFIX=$PWD/_pkg/usr
pankso@29 20 }
pankso@29 21
pankso@29 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 23 genpkg_rules()
pankso@29 24 {
pankso@29 25 mkdir -p $fs/usr/share/examples/mercurial
pankso@29 26 cp -a $_pkg/usr/bin $fs/usr
pankso@29 27 cp -a $_pkg/usr/lib $fs/usr
pankso@4464 28
pankso@29 29 # Examples
pankso@29 30 cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial
pankso@29 31 cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
pankso@29 32 cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
pankso@4464 33
pankso@29 34 # Config file for hgweb
pankso@29 35 mkdir -p $fs/etc/mercurial
pankso@29 36 cp -a stuff/hgweb.config $fs/etc/mercurial
pankso@4464 37
pankso@29 38 chown -R root.root $fs
pankso@29 39 }