wok annotate 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
rev   line source
pankso@17 1 # SliTaz package receipt.
pankso@17 2
pankso@17 3 PACKAGE="slitaz-mercurial-style"
pankso@4465 4 VERSION="2.0"
pankso@211 5 CATEGORY="misc"
pankso@17 6 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos."
pankso@17 7 DEPENDS="mercurial"
pankso@17 8 MAINTAINER="pankso@slitaz.org"
pankso@17 9 WEB_SITE="http://www.slitaz.org/"
pankso@17 10
pankso@17 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@17 12 genpkg_rules()
pankso@17 13 {
pascal@6594 14 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@4465 15 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
pankso@4465 16 cp -a stuff/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
pankso@17 17 chown -R root.root $fs
pankso@17 18 }