wok-current rev 8567

imported patch get/pyneighborhood
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 7e8df9be141c
children c4c54646489a
files pyneighborhood/receipt
line diff
     1.1 --- a/pyneighborhood/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/pyneighborhood/receipt	Sun Feb 13 22:57:56 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