# HG changeset patch # User Christopher Rogers # Date 1292698414 0 # Node ID c0b957b9020a41c0e8ea7b49ef7bb6a15a87ebaf # Parent 22b3d6db6c9153c7eedfd644e0215a9cf61b25f4 Up: pyneighborhood to 0.5.3. diff -r 22b3d6db6c91 -r c0b957b9020a pyneighborhood/receipt --- a/pyneighborhood/receipt Sat Dec 18 15:53:38 2010 +0000 +++ b/pyneighborhood/receipt Sat Dec 18 18:53:34 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="pyneighborhood" -VERSION="0.5.0" +VERSION="0.5.3" CATEGORY="network" SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)." MAINTAINER="paul@slitaz.org" @@ -9,13 +9,20 @@ BUILD_DEPENDS="python python-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://launchpad.net/pyneighborhood" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +WGET="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" # Rules to configure and make the package. compile_rules() { + if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then + tar xjf $SOURCES_REPOSITORY/$TARBALL + else + [ -L /usr/bin/wget ] || tazpkg get-install wget --forced + wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" + tar xjf $SOURCES_REPOSITORY/$TARBALL + fi + cd $src - # hack .desktop file sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop