wok view mercurial/receipt @ rev 6309
Up: bison to 2.4.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 20:53:23 2010 +0000 (2010-09-16) |
parents | 8d56d3a0fba7 |
children | bca0f176c4d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="1.6.3"
5 CATEGORY="development"
6 SHORT_DESC="Revision tools system."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python patch openssl"
9 BUILD_DEPENDS="python-dev patch openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://mercurial.selenic.com/"
12 WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL"
13 CONFIG_FILES="/etc/mercurial/hgweb.config"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make install PREFIX=$PWD/_pkg/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/examples/mercurial
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
29 # Examples
30 cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial
31 cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
32 cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
34 # Config file for hgweb
35 mkdir -p $fs/etc/mercurial
36 cp -a stuff/hgweb.config $fs/etc/mercurial
38 chown -R root.root $fs
39 }