wok-stable rev 8570
imported patch get/shell-fm
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | 03a5c535ba51 |
children | e3a55b50358b |
files | shell-fm/receipt |
line diff
1.1 --- a/shell-fm/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/shell-fm/receipt Sun Feb 13 22:57:56 2011 +0100 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