wok view slitaz-mercurial-style/receipt @ rev 6594

fix python path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 09 17:19:46 2010 +0200 (2010-10-09)
parents 5921dc28d8c6
children df5c4c4f6551
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 DEPENDS="mercurial"
8 MAINTAINER="pankso@slitaz.org"
9 WEB_SITE="http://www.slitaz.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
15 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
16 cp -a stuff/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
17 chown -R root.root $fs
18 }