wok-next annotate slitaz-mercurial-style/receipt @ rev 9718
slitaz-toolchain: create toolchain.txt info in /usr/share/doc/slitaz
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 02:12:10 2011 +0200 (2011-05-09) |
parents | 952ff859b436 |
children | 74379b2b86e0 |
rev | line source |
---|---|
pankso@17 | 1 # SliTaz package receipt. |
pankso@17 | 2 |
pankso@17 | 3 PACKAGE="slitaz-mercurial-style" |
pankso@9607 | 4 VERSION="1.1.2" |
pankso@211 | 5 CATEGORY="misc" |
pankso@17 | 6 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos." |
slaxemulator@9242 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@17 | 8 DEPENDS="mercurial" |
slaxemulator@9242 | 9 BUILD_DEPENDS="mercurial" |
slaxemulator@9242 | 10 SOURCE="slitaz-dev-tools" |
slaxemulator@9242 | 11 WGET_URL="mercurial|http://hg.slitaz.org/slitaz-dev-tools" |
slaxemulator@9242 | 12 BRANCH="$VERSION" |
pankso@17 | 13 WEB_SITE="http://www.slitaz.org/" |
pankso@17 | 14 |
pankso@17 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@17 | 16 genpkg_rules() |
pankso@17 | 17 { |
pascal@6594 | 18 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@4465 | 19 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial |
slaxemulator@9242 | 20 cp -a $src/$PACKAGE/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial |
pankso@17 | 21 chown -R root.root $fs |
pankso@17 | 22 } |