wok view slitaz-mercurial-style/receipt @ rev 14853
x11vnc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 18 10:50:13 2013 +0000 (2013-07-18) |
parents | 8d8e063fbcd3 |
children | eb8067417980 |
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 }