wok rev 12279

arora: improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 13:59:01 2012 +0200 (2012-04-15)
parents f827295ec186
children cd14149ba36e
files arora/receipt
line diff
     1.1 --- a/arora/receipt	Sun Apr 15 14:26:19 2012 +0200
     1.2 +++ b/arora/receipt	Sun Apr 15 13:59:01 2012 +0200
     1.3 @@ -8,22 +8,22 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://arora.googlecode.com/"
     1.6  WGET_URL="$WEB_SITE/files/$TARBALL"
     1.7 -BUILD_DEPENDS="Qt4-dev qmake qt4-phonon libsqlite"
     1.8 -DEPENDS="qt4-phonon libQtGui libQtWebkit libQtDBus libQtXml libQtScript"
     1.9 +
    1.10 +BUILD_DEPENDS="Qt4-dev qmake libsqlite"
    1.11 +DEPENDS="libQtGui libQtWebkit libQtDBus libQtXml libQtScript"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 -	qmake &&
    1.18 -	make $MAKEFLAGS
    1.19 +	qmake PREFIX="/usr/" &&
    1.20 +	make $MAKEFLAGS &&
    1.21 +	make INSTALL_ROOT=$DESTDIR install
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications
    1.28 +	mkdir -p $fs/usr/bin
    1.29  	cp $src/arora $fs/usr/bin
    1.30 -	cp -a $src/src/data/32x32/arora.png $fs/usr/share/pixmaps
    1.31 -	cp -a $src/src/arora.desktop $fs/usr/share/applications
    1.32  }