wok-current view slitaz-mercurial-style/receipt @ rev 19018

Up mirror-tools, qemu-box, slitaz-mercurial-style, tazchroot, tazdev, tazwikiss, yaff (253)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 10:49:53 2016 +0200 (2016-04-01)
parents b5bb376d98ad
children bd3d0b4e39b8
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-mercurial-style"
4 VERSION="253"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 SOURCE="slitaz-dev-tools"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
12 WEB_SITE="http://www.slitaz.org/"
14 DEPENDS="mercurial"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
20 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
21 cp -a $src/$PACKAGE/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
22 chown -R root.root $fs
23 }