wok-4.x diff mercurial/receipt @ rev 175
Adding SHORT_DESC
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Feb 01 22:04:04 2008 +0100 (2008-02-01) |
parents | |
children | 17a39e4461e4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mercurial/receipt Fri Feb 01 22:04:04 2008 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mercurial" 1.7 +VERSION="0.9.5" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Revision tools system." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="python patch openssl" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.selenic.com/mercurial/wiki/" 1.14 +WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + make install PREFIX=$PWD/_pkg/usr 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + mkdir -p $fs/usr/share/examples/mercurial 1.27 + cp -a $_pkg/usr/bin $fs/usr 1.28 + cp -a $_pkg/usr/lib $fs/usr 1.29 + 1.30 + # Examples 1.31 + cp -a $src/hgweb.cgi $fs/usr/share/examples/mercurial 1.32 + cp -a stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial 1.33 + cp -a stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial 1.34 + 1.35 + # Config file for hgweb 1.36 + mkdir -p $fs/etc/mercurial 1.37 + cp -a stuff/hgweb.config $fs/etc/mercurial 1.38 + 1.39 + chown -R root.root $fs 1.40 +}