wok-current rev 8563
imported patch get/mplayer-svn
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | 8d4ecbb30029 |
children | 23b7c2a99749 |
files | mplayer-svn/receipt |
line diff
1.1 --- a/mplayer-svn/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/mplayer-svn/receipt Sun Feb 13 22:57:56 2011 +0100 1.3 @@ -13,6 +13,8 @@ 1.4 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" 1.5 PROVIDES="mplayer" 1.6 TAGS="player movie audio video" 1.7 +WGET_URL="subversion|svn://svn.mplayerhq.hu/mplayer/trunk" 1.8 +BRANCH="$VERSION" 1.9 1.10 # Rules to configure and make the package. 1.11 # 1.12 @@ -27,14 +29,6 @@ 1.13 1.14 compile_rules() 1.15 { 1.16 - TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma 1.17 - if [ -f $TARBALL ]; then 1.18 - unlzma -c $TARBALL | tar xf - 1.19 - else 1.20 - svn checkout -r $VERSION \ 1.21 - svn://svn.mplayerhq.hu/mplayer/trunk $PACKAGE-$VERSION && 1.22 - tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si 1.23 - fi 1.24 cd $src 1.25 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.26 sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/" configure