wok-current view mercurial/receipt @ rev 4500
Add: libmpd, libmpd-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Nov 20 15:30:54 2009 +0000 (2009-11-20) |
parents | 3d99ecce2d4b |
children | 4fa548ee5917 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mercurial"
4 VERSION="1.3.1"
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 }