wok-6.x diff shell-fm/receipt @ rev 12643

xfprint: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 22:50:20 2012 +0200 (2012-04-29)
parents 0e5cc0711b9e
children 66d86dcaebd6
line diff
     1.1 --- a/shell-fm/receipt	Sun Jan 09 15:26:35 2011 +0000
     1.2 +++ b/shell-fm/receipt	Sun Apr 29 22:50:20 2012 +0200
     1.3 @@ -8,21 +8,12 @@
     1.4  DEPENDS="libmad libao taglib zlib"
     1.5  BUILD_DEPENDS="libmad-dev libao-dev libao git pkg-config"
     1.6  WEB_SITE="http://nex.scrapping.cc/shell-fm/"
     1.7 +WGET_URL="git|git://github.com/jkramer/shell-fm.git"
     1.8 +BRANCH="v${VERSION}"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.14 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.15 -	if [ -f $TARBALL ]; then
    1.16 -		tar xzf $TARBALL
    1.17 -	else
    1.18 -		echo "Cloning revision $VERSION from git repository..."
    1.19 -		git clone git://github.com/jkramer/shell-fm.git $PACKAGE-$VERSION
    1.20 -		cd $PACKAGE-$VERSION && git checkout v${VERSION}
    1.21 -		cd $WOK/$PACKAGE && tar czf $TARBALL $PACKAGE-$VERSION
    1.22 -	fi
    1.23 -	
    1.24  	cd $src
    1.25  	make &&
    1.26  	make DESTDIR=$PWD/_pkg install