wok view mercurial/receipt @ rev 4774
Up: get-virtualbox (1.01) - Improve vbox installer for slitaz.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jan 13 00:39:30 2010 +0100 (2010-01-13) |
parents | 3d99ecce2d4b |
children | 4fa548ee5917 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="1.3.1"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make install PREFIX=$PWD/_pkg/usr
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/examples/mercurial
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
28 # Examples
29 cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial
30 cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
31 cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
33 # Config file for hgweb
34 mkdir -p $fs/etc/mercurial
35 cp -a stuff/hgweb.config $fs/etc/mercurial
37 chown -R root.root $fs
38 }