wok-next view mercurial/receipt @ rev 2599

grub: fix 256 bytes/inodes ext3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 10 15:54:35 2009 +0000 (2009-04-10)
parents e10aae8fb72a
children f25ac6310927
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 BUILD_DEPENDS="python-dev patch openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.selenic.com/mercurial/wiki/"
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 }