wok-next view slitaz-mercurial-style/receipt @ rev 9570

Up: xorg-xproto to 7.0.21.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Apr 11 23:13:15 2011 +0000 (2011-04-11)
parents 3416bbd793e4
children a31079b46436
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-mercurial-style"
4 VERSION="1.0.7"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="mercurial"
9 BUILD_DEPENDS="mercurial"
10 SOURCE="slitaz-dev-tools"
11 WGET_URL="mercurial|http://hg.slitaz.org/slitaz-dev-tools"
12 BRANCH="$VERSION"
13 WEB_SITE="http://www.slitaz.org/"
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 }