wok-current annotate slitaz-mercurial-style/receipt @ rev 11620

Up slitaz-boot-scripts (4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 24 11:48:19 2012 +0100 (2012-01-24)
parents 8d8e063fbcd3
children eb8067417980
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"
slaxemulator@10728 8 SOURCE="slitaz-dev-tools"
slaxemulator@10732 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@10728 10 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
slaxemulator@10728 11 WEB_SITE="http://www.slitaz.org/"
slaxemulator@10728 12
pankso@17 13 DEPENDS="mercurial"
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 }