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

xarchive: apply patch once
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 21:12:18 2008 +0000 (2008-10-03)
parents 17a39e4461e4
children 3d99ecce2d4b
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="1.0"
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 }