wok-4.x annotate mercurial/receipt @ rev 31

Add : fribidi, microperl, sysfsutils
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:03:04 2007 +0100 (2007-12-18)
parents
children 17a39e4461e4
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="mercurial"
pankso@29 4 VERSION="0.9.5"
pankso@29 5 CATEGORY="extra"
pankso@29 6 SHORT_DESC="Revision tools system."
pankso@29 7 MAINTAINER="pankso@slitaz.org"
pankso@29 8 DEPENDS="python patch openssl"
pankso@29 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@29 10 WEB_SITE="http://www.selenic.com/mercurial/wiki/"
pankso@29 11 WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL"
pankso@29 12
pankso@29 13 # Rules to configure and make the package.
pankso@29 14 compile_rules()
pankso@29 15 {
pankso@29 16 cd $src
pankso@29 17 make install PREFIX=$PWD/_pkg/usr
pankso@29 18 }
pankso@29 19
pankso@29 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 21 genpkg_rules()
pankso@29 22 {
pankso@29 23 mkdir -p $fs/usr/share/examples/mercurial
pankso@29 24 cp -a $_pkg/usr/bin $fs/usr
pankso@29 25 cp -a $_pkg/usr/lib $fs/usr
pankso@29 26
pankso@29 27 # Examples
pankso@29 28 cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial
pankso@29 29 cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
pankso@29 30 cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
pankso@29 31
pankso@29 32 # Config file for hgweb
pankso@29 33 mkdir -p $fs/etc/mercurial
pankso@29 34 cp -a stuff/hgweb.config $fs/etc/mercurial
pankso@29 35
pankso@29 36 chown -R root.root $fs
pankso@29 37 }