wok-next view slitaz-mercurial-style/receipt @ rev 20221

Up pyopenssl (17.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 05 14:16:37 2017 +0100 (2017-11-05)
parents 266eb7ab8b5a
children cd7906120828
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-mercurial-style"
4 VERSION="306"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 TARBALL="slitaz-dev-tools-$VERSION.tar.bz2"
12 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
14 DEPENDS="mercurial"
15 SIBLINGS="mirror-tools qemu-box slitaz-dev-tools tazchroot tazdev tazwikiss yaff"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
21 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
22 cp -a $src/$PACKAGE/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial
23 chown -R root.root $fs
24 }