wok-current rev 7703
Up: pyneighborhood to 0.5.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 18 18:53:34 2010 +0000 (2010-12-18) |
parents | 22b3d6db6c91 |
children | a251caa1f12a |
files | pyneighborhood/receipt |
line diff
1.1 --- a/pyneighborhood/receipt Sat Dec 18 15:53:38 2010 +0000 1.2 +++ b/pyneighborhood/receipt Sat Dec 18 18:53:34 2010 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pyneighborhood" 1.7 -VERSION="0.5.0" 1.8 +VERSION="0.5.3" 1.9 CATEGORY="network" 1.10 SHORT_DESC="GUI frontend for samba tools (smbclient, smbmount, etc)." 1.11 MAINTAINER="paul@slitaz.org" 1.12 @@ -9,13 +9,20 @@ 1.13 BUILD_DEPENDS="python python-dev" 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WEB_SITE="https://launchpad.net/pyneighborhood" 1.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 +WGET="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 + if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.23 + tar xjf $SOURCES_REPOSITORY/$TARBALL 1.24 + else 1.25 + [ -L /usr/bin/wget ] || tazpkg get-install wget --forced 1.26 + wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" 1.27 + tar xjf $SOURCES_REPOSITORY/$TARBALL 1.28 + fi 1.29 + 1.30 cd $src 1.31 - 1.32 # hack .desktop file 1.33 sed -i 's/Application;Network;System;Utility/Application;System;/' pyNeighborhood.desktop 1.34