wok diff smplayer/receipt @ rev 16629

Up: slitaz-arm* packages
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 10 14:35:39 2014 +0200 (2014-05-10)
parents 9c762d56b413
children 8601e8239d7f
line diff
     1.1 --- a/smplayer/receipt	Wed Mar 07 21:27:37 2012 -0800
     1.2 +++ b/smplayer/receipt	Sat May 10 14:35:39 2014 +0200
     1.3 @@ -5,19 +5,21 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="QT-based front-end for MPlayer"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="mplayer libQtCore libQtGui libQtXml gcc-lib-base"
     1.8 -BUILD_DEPENDS="qt4 Qt4-dev qmake libQtNetwork libegl-mesa"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://smplayer.sourceforge.net/" 
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  TAGS="player audio video movie"
    1.14  
    1.15 +DEPENDS="mplayer libQtCore libQtGui libQtXml gcc-lib-base"
    1.16 +BUILD_DEPENDS="qt4 Qt4-dev qmake libQtNetwork libegl-mesa"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src	
    1.22  	make PREFIX=/usr &&
    1.23 -	make PREFIX=/usr DESTDIR=$PWD/_pkg install
    1.24 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.25  	
    1.26  }
    1.27  
    1.28 @@ -25,13 +27,13 @@
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/share $fs/usr/share/applications
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share	
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share	
    1.36  	
    1.37  	# Remove extra translations  or locales
    1.38  	rm $fs/usr/share/$PACKAGE/translations/*
    1.39 -	cp -a $_pkg/usr/share/$PACKAGE/translations/smplayer_en_US.qm \
    1.40 -		  $_pkg/usr/share/$PACKAGE/translations/smplayer_fr.qm \
    1.41 +	cp -a $install/usr/share/$PACKAGE/translations/smplayer_en_US.qm \
    1.42 +		  $install/usr/share/$PACKAGE/translations/smplayer_fr.qm \
    1.43  		  $fs/usr/share/$PACKAGE/translations/
    1.44  		  
    1.45  	# copy .desktop file.