wok-stable view 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
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 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
10 WEB_SITE="http://www.slitaz.org/"
12 DEPENDS="mercurial"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
18 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
19 cp -a $src/$PACKAGE/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
20 chown -R root.root $fs
21 }