wok view mercurial/receipt @ rev 252

ADD: lzo, lzo-dev, startup-notification, startup-notification-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 24 02:29:49 2008 +0100 (2008-02-24)
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 }