wok diff libqwt5-qt4/receipt @ rev 4167

Up: hubbub (rev 8960) - fix build
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 22 20:07:31 2009 +0200 (2009-09-22)
parents f45020015130
children 8752c40cc534
line diff
     1.1 --- a/libqwt5-qt4/receipt	Tue Jun 02 09:43:25 2009 +0200
     1.2 +++ b/libqwt5-qt4/receipt	Tue Sep 22 20:07:31 2009 +0200
     1.3 @@ -5,31 +5,26 @@
     1.4  CATEGORY="graphics"
     1.5  SHORT_DESC="Lib Qt Widgets for Technical applications"
     1.6  MAINTAINER="slitaz@objectif-securite.ch"
     1.7 -DEPENDS="libQtCore libQtGui"
     1.8 -BUILD_DEPENDS="qt-x11-opensource-src"
     1.9 -TARBALL="qwt-$VERSION.tar.bz2"
    1.10 +DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner"
    1.11 +BUILD_DEPENDS="$DEPENDS qt-x11-opensource-src"
    1.12 +SOURCE="qwt"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://qwt.sourceforge.net"
    1.15  WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -	cd qwt-$VERSION
    1.21 +	cd $src
    1.22  	qmake
    1.23  	make &&
    1.24 -	make INSTALL_ROOT=$PWD/../_pkg install
    1.25 +	make INSTALL_ROOT=$PWD/_pkg install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/lib
    1.32 -	cp -a $PWD/_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
    1.33 +	cp -a $_pkg/usr/lib/qt $fs/usr/lib
    1.34 +	cp -a $_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
    1.35  }
    1.36 -
    1.37 -# clean commands for Tazwok.
    1.38 -clean_wok()
    1.39 -{
    1.40 -	rm -rf $WOK/$PACKAGE/_pkg
    1.41 -	rm -rf $WOK/$PACKAGE/qwt-$VERSION
    1.42 -}