wok diff mercurial/receipt @ rev 22491

updated apr and apr-dev (1.4.6 -> 1.7.0)
author Hans-G?nter Theisgen
date Tue Dec 31 14:21:42 2019 +0100 (2019-12-31)
parents 36f7c3d0cb91
children 7ec4ec445340
line diff
     1.1 --- a/mercurial/receipt	Thu Sep 10 22:25:19 2015 +0000
     1.2 +++ b/mercurial/receipt	Tue Dec 31 14:21:42 2019 +0100
     1.3 @@ -1,25 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mercurial"
     1.7 -VERSION="3.5.1"
     1.8 +VERSION="4.9.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Revision tools system."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.mercurial-scm.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://mercurial.selenic.com/"
    1.17 -WGET_URL="http://www.selenic.com/mercurial/release/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}release/$TARBALL"
    1.19 +
    1.20 +PROVIDE="hg"
    1.21 +DEPENDS="libssl patch python"
    1.22 +BUILD_DEPENDS="openssl-dev patch python-dev"
    1.23  CONFIG_FILES="/etc/mercurial/hgweb.config"
    1.24 +
    1.25  HOST_ARCH="i486 arm"
    1.26  
    1.27 -DEPENDS="python patch libssl"
    1.28 -BUILD_DEPENDS="python-dev patch openssl-dev"
    1.29 -PROVIDE="hg"
    1.30 -
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	# Cross compilation hack to avoid using compiler wich build python 
    1.35 +	# Cross compilation hack to avoid using compiler which build python 
    1.36  	# itself.
    1.37  	case "$ARCH" in
    1.38  		arm*)
    1.39 @@ -27,9 +29,13 @@
    1.40  			ln -s /cross/${ARCH}/tools/bin/${HOST_SYSTEM}-gcc \
    1.41  				/usr/bin/i486-slitaz-linux-gcc ;;
    1.42  	esac &&
    1.43 -	python setup.py install --root="$DESTDIR" --optimize=1 &&
    1.44 +
    1.45 +	python setup.py install		\
    1.46 +		--root="$DESTDIR"	\
    1.47 +		--optimize=1 &&
    1.48  	mkdir -p $DESTDIR/usr/share/examples/mercurial &&
    1.49  	cp -a $src/hgweb.cgi $DESTDIR/usr/share/examples/mercurial &&
    1.50 +
    1.51  	case "$ARCH" in
    1.52  		arm*) 
    1.53  			rm /usr/bin/i486-slitaz-linux-gcc &&
    1.54 @@ -41,12 +47,15 @@
    1.55  genpkg_rules()
    1.56  {
    1.57  	mkdir -p $fs/usr/share/examples/mercurial
    1.58 +
    1.59  	cp -a $install/usr/bin $fs/usr
    1.60  	cp -a $install/usr/lib $fs/usr
    1.61  
    1.62  	# Examples
    1.63 -	cp -a $stuff/hgwebdir.cgi $fs/usr/share/examples/mercurial
    1.64 -	cp -a $stuff/lighttpd-hg-vhost.conf $fs/usr/share/examples/mercurial
    1.65 +	cp -a $stuff/hgwebdir.cgi \
    1.66 +		$fs/usr/share/examples/mercurial
    1.67 +	cp -a $stuff/lighttpd-hg-vhost.conf \
    1.68 +		$fs/usr/share/examples/mercurial
    1.69  
    1.70  	# Config file for hgweb
    1.71  	mkdir -p $fs/etc/mercurial