wok annotate mercurial/receipt @ rev 13857
Up Bleachbit
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Fri Jan 11 07:57:40 2013 +0200 (2013-01-11) |
parents | 08a7b3161b95 |
children | a93f37871107 |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="mercurial" |
samuel_trassare@13488 | 4 VERSION="2.3.2" |
pankso@204 | 5 CATEGORY="development" |
pankso@29 | 6 SHORT_DESC="Revision tools system." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@29 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4464 | 9 WEB_SITE="http://mercurial.selenic.com/" |
pankso@29 | 10 WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL" |
pankso@5646 | 11 CONFIG_FILES="/etc/mercurial/hgweb.config" |
pankso@29 | 12 |
pankso@10472 | 13 DEPENDS="python patch libssl" |
pankso@10472 | 14 BUILD_DEPENDS="python-dev patch openssl-dev" |
pankso@10472 | 15 |
pankso@29 | 16 # Rules to configure and make the package. |
pankso@29 | 17 compile_rules() |
pankso@29 | 18 { |
pankso@29 | 19 cd $src |
slaxemulator@9446 | 20 python setup.py install --root="$DESTDIR" --optimize=1 |
slaxemulator@9446 | 21 mkdir -p $DESTDIR/usr/share/examples/mercurial |
slaxemulator@9446 | 22 cp -a $src/hgweb.cgi $DESTDIR/usr/share/examples/mercurial |
pankso@29 | 23 } |
pankso@29 | 24 |
pankso@29 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 26 genpkg_rules() |
pankso@29 | 27 { |
pankso@29 | 28 mkdir -p $fs/usr/share/examples/mercurial |
slaxemulator@12998 | 29 cp -a $install/usr/bin $fs/usr |
slaxemulator@12998 | 30 cp -a $install/usr/lib $fs/usr |
pankso@4464 | 31 |
pankso@29 | 32 # Examples |
slaxemulator@9446 | 33 cp -a $stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial |
slaxemulator@9446 | 34 cp -a $stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial |
pankso@4464 | 35 |
pankso@29 | 36 # Config file for hgweb |
pankso@29 | 37 mkdir -p $fs/etc/mercurial |
slaxemulator@9446 | 38 cp -a $stuff/hgweb.config $fs/etc/mercurial |
slaxemulator@7117 | 39 |
pankso@29 | 40 chown -R root.root $fs |
pankso@29 | 41 } |