wok rev 3492

libqwt5-qt4*: Fix receipt
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 18 04:25:56 2009 +0200 (2009-06-18)
parents 84c158b691f4
children 71a234d3060d
files libqwt5-qt4-dev/receipt libqwt5-qt4/receipt
line diff
     1.1 --- a/libqwt5-qt4-dev/receipt	Thu Jun 18 03:22:47 2009 +0200
     1.2 +++ b/libqwt5-qt4-dev/receipt	Thu Jun 18 04:25:56 2009 +0200
     1.3 @@ -6,7 +6,6 @@
     1.4  SHORT_DESC="Lib Qt Widgets for Technical applications"
     1.5  MAINTAINER="slitaz@objectif-securite.ch"
     1.6  DEPENDS="qt-x11-opensource-src libqwt5-qt4"
     1.7 -TARBALL="qwt-$VERSION.tar.bz2"
     1.8  WEB_SITE="http://qwt.sourceforge.net"
     1.9  WANTED="libqwt5-qt4"
    1.10  
    1.11 @@ -14,11 +13,6 @@
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr/include
    1.15 -	cp -a $PWD/_pkg/usr/local/qwt-$VERSION/include/*.h $fs/usr/include
    1.16 +	cp -a $WOK/$WANTED/qwt-$VERSION/_pkg/usr/local/qwt-$VERSION/include/*.h \
    1.17 +		$fs/usr/include
    1.18  }
    1.19 -
    1.20 -# clean commands for Tazwok.
    1.21 -clean_wok()
    1.22 -{
    1.23 -	rm -rf $WOK/$PACKAGE/_pkg
    1.24 -}
     2.1 --- a/libqwt5-qt4/receipt	Thu Jun 18 03:22:47 2009 +0200
     2.2 +++ b/libqwt5-qt4/receipt	Thu Jun 18 04:25:56 2009 +0200
     2.3 @@ -5,31 +5,26 @@
     2.4  CATEGORY="graphics"
     2.5  SHORT_DESC="Lib Qt Widgets for Technical applications"
     2.6  MAINTAINER="slitaz@objectif-securite.ch"
     2.7 -DEPENDS="libQtCore libQtGui"
     2.8 -BUILD_DEPENDS="qt-x11-opensource-src"
     2.9 -TARBALL="qwt-$VERSION.tar.bz2"
    2.10 +DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner"
    2.11 +BUILD_DEPENDS="$DEPENDS qt-x11-opensource-src"
    2.12 +SOURCE="qwt"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.14  WEB_SITE="http://qwt.sourceforge.net"
    2.15  WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
    2.16  
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20 -	cd qwt-$VERSION
    2.21 +	cd $src
    2.22  	qmake
    2.23  	make &&
    2.24 -	make INSTALL_ROOT=$PWD/../_pkg install
    2.25 +	make INSTALL_ROOT=$PWD/_pkg install
    2.26  }
    2.27  
    2.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.29  genpkg_rules()
    2.30  {
    2.31  	mkdir -p $fs/usr/lib
    2.32 -	cp -a $PWD/_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
    2.33 +	cp -a $_pkg/usr/lib/qt $fs/usr/lib
    2.34 +	cp -a $_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
    2.35  }
    2.36 -
    2.37 -# clean commands for Tazwok.
    2.38 -clean_wok()
    2.39 -{
    2.40 -	rm -rf $WOK/$PACKAGE/_pkg
    2.41 -	rm -rf $WOK/$PACKAGE/qwt-$VERSION
    2.42 -}