wok annotate hg-git/receipt @ rev 16573

slitaz-base-files: get ride of /var/run symlink in pre_install
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 19:14:33 2014 +0200 (2014-05-02)
parents 33e84bccec26
children 16df76e1fc6a
rev   line source
pascal@14379 1 # SliTaz package receipt.
pascal@14379 2
pascal@14379 3 PACKAGE="hg-git"
pascal@14379 4 VERSION="5861777f2f5e"
pascal@14379 5 CATEGORY="misc"
pascal@14379 6 SHORT_DESC="Git plugin for mercurial."
pascal@14379 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@14379 9 WEB_SITE="http://hg-git-github.com/"
pascal@14379 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@14379 11 WGET_URL="https://bitbucket.org/durin42/$PACKAGE/get/$VERSION.tar.bz2"
pascal@14379 12
pascal@14379 13 DEPENDS="mercurial dulwich python"
pascal@14379 14 BUILD_DEPENDS="wget python-dev"
pascal@14379 15
pascal@14379 16 # Rules to configure and make the package.
pascal@14379 17 compile_rules()
pascal@14379 18 {
pascal@14379 19 cd $src
pascal@14379 20 python setup.py install --root=$DESTDIR --prefix=/usr
pascal@14379 21 }
pascal@14379 22
pascal@14379 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14379 24 genpkg_rules()
pascal@14379 25 {
pascal@14379 26 cp -a $install/* $fs
pascal@14379 27 }