wok-6.x view mercurial/receipt @ rev 428

Up: slitaz-configs (1.3) and tazusb (1.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 13 21:18:51 2008 +0100 (2008-03-13)
parents 3169dbe810b0
children e10aae8fb72a
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="0.9.5"
5 CATEGORY="development"
6 SHORT_DESC="Revision tools system."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python patch openssl"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.selenic.com/mercurial/wiki/"
11 WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make install PREFIX=$PWD/_pkg/usr
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/examples/mercurial
24 cp -a $_pkg/usr/bin $fs/usr
25 cp -a $_pkg/usr/lib $fs/usr
27 # Examples
28 cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial
29 cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
30 cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
32 # Config file for hgweb
33 mkdir -p $fs/etc/mercurial
34 cp -a stuff/hgweb.config $fs/etc/mercurial
36 chown -R root.root $fs
37 }