wok-4.x annotate slitaz-mercurial-style/receipt @ rev 10728
Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 28 21:18:14 2011 +0000 (2011-05-28) |
parents | a31079b46436 |
children | 8d8e063fbcd3 |
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@10728 | 9 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2" |
slaxemulator@10728 | 10 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@10728 | 11 |
pankso@17 | 12 DEPENDS="mercurial" |
pankso@17 | 13 |
pankso@17 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@17 | 15 genpkg_rules() |
pankso@17 | 16 { |
pascal@6594 | 17 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@4465 | 18 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial |
slaxemulator@9242 | 19 cp -a $src/$PACKAGE/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial |
pankso@17 | 20 chown -R root.root $fs |
pankso@17 | 21 } |