wok-next view slitaz-mercurial-style/receipt @ rev 9403

Up: slitaz-mercurial-style (2.0) - New color, put some joy :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 27 23:35:45 2011 +0200 (2011-03-27)
parents 9272b69b5779
children 952ff859b436
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-mercurial-style"
4 VERSION="2.0"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="mercurial"
9 BUILD_DEPENDS="mercurial"
10 SOURCE="slitaz-dev-tools"
11 WGET_URL="mercurial|http://hg.slitaz.org/slitaz-dev-tools"
12 BRANCH="$VERSION"
13 WEB_SITE="http://www.slitaz.org/"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
19 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
20 cp -a $src/$PACKAGE/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
21 chown -R root.root $fs
22 }