wok view mercurial/receipt @ rev 101

Renamed cdparanoia to cdparanoia-III
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 04 16:50:21 2008 +0100 (2008-01-04)
parents
children 17a39e4461e4
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="0.9.5"
5 CATEGORY="extra"
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 }