wok-next view mercurial/receipt @ rev 5573

tcc: add cross compilers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 15 16:05:09 2010 +0200 (2010-05-15)
parents 4fa548ee5917
children 8d56d3a0fba7
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="1.5.2"
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 }