wok-stable view slitaz-mercurial-style/receipt @ rev 12072

fix tuxmath bdeps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 05:03:33 2012 +0100 (2012-03-09)
parents 8d8e063fbcd3
children
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="$SOURCE-$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 }