wok-next view mercurial/receipt @ rev 14608

Up: alsa-utils to 1.0.27.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 31 20:18:29 2013 +0000 (2013-05-31)
parents 299e8a944f74
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="2.4.2"
5 CATEGORY="development"
6 SHORT_DESC="Revision tools system."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://mercurial.selenic.com/"
10 WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL"
11 CONFIG_FILES="/etc/mercurial/hgweb.config"
13 DEPENDS="python patch libssl"
14 BUILD_DEPENDS="python-dev patch openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py install --root="$DESTDIR" --optimize=1
20 mkdir -p $DESTDIR/usr/share/examples/mercurial
21 cp -a $src/hgweb.cgi $DESTDIR/usr/share/examples/mercurial
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/examples/mercurial
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib $fs/usr
31 # Examples
32 cp -a $stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
33 cp -a $stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
35 # Config file for hgweb
36 mkdir -p $fs/etc/mercurial
37 cp -a $stuff/hgweb.config $fs/etc/mercurial
39 chown -R root.root $fs
40 }