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

slitaz-mercurial-style: fix TARBALL
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 29 04:12:19 2011 +0200 (2011-05-29)
parents 74379b2b86e0
children ad6c95b7ff78
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-mercurial-style"
4 VERSION="1.1.2"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="slitaz-dev-tools"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
11 WEB_SITE="http://www.slitaz.org/"
13 DEPENDS="mercurial"
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 }