wok diff pyneighborhood/receipt @ rev 9005

yaws: fix source path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 17:56:34 2011 +0100 (2011-03-03)
parents 85df17f7d27a
children ce4297548db6
line diff
     1.1 --- a/pyneighborhood/receipt	Fri Dec 24 13:30:35 2010 +0000
     1.2 +++ b/pyneighborhood/receipt	Thu Mar 03 17:56:34 2011 +0100
     1.3 @@ -9,19 +9,11 @@
     1.4  BUILD_DEPENDS="python python-dev gettext wget"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WEB_SITE="https://launchpad.net/pyneighborhood"
     1.7 -WGET="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
     1.8 +WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    1.14 -		tar xjf $SOURCES_REPOSITORY/$TARBALL
    1.15 -	else
    1.16 -		# [ -L /usr/bin/wget ] || tazpkg get-install wget --forced
    1.17 -		wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
    1.18 -		tar xjf $SOURCES_REPOSITORY/$TARBALL
    1.19 -	fi
    1.20 -
    1.21  	cd $src
    1.22  	# hack Makefile
    1.23  	sed -i 's/--prefix=/--root=/' Makefile