wok-current view slitaz-mercurial-style/receipt @ rev 12171
minicom: simplify receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Mar 22 20:55:40 2012 +0100 (2012-03-22) |
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 }