# SliTaz package receipt. PACKAGE="slitaz-mercurial-style" VERSION="1.1.2" CATEGORY="misc" SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos." MAINTAINER="pankso@slitaz.org" SOURCE="slitaz-dev-tools" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2" WEB_SITE="http://www.slitaz.org/" DEPENDS="mercurial" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial cp -a $src/$PACKAGE/templates $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial chown -R root.root $fs }