wok-current view mercurial/receipt @ rev 6811
Added hydrogen. A Advanced Drum Machine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 19 13:55:39 2010 +0000 (2010-10-19) |
parents | 4d15994ef7bd |
children | 291064891034 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="1.6.4"
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"
13 CONFIG_FILES="/etc/mercurial/hgweb.config"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make install PREFIX=$PWD/_pkg/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/examples/mercurial
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
29 # Examples
30 cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial
31 cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
32 cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
34 # Config file for hgweb
35 mkdir -p $fs/etc/mercurial
36 cp -a stuff/hgweb.config $fs/etc/mercurial
38 chown -R root.root $fs
39 }