wok-current view libqwt5-qt4/receipt @ rev 8793

Fix compile_rules() for gcc3
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 22 23:45:30 2011 +0100 (2011-02-22)
parents b04abd30b007
children 02cc6d6760e4
line source
1 # SliTaz package receipt.
3 PACKAGE="libqwt5-qt4"
4 VERSION="5.2.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Lib Qt Widgets for Technical applications"
7 MAINTAINER="slitaz@objectif-securite.ch"
8 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base \
9 qmake"
10 BUILD_DEPENDS="$DEPENDS qt4"
11 SOURCE="qwt"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://qwt.sourceforge.net"
14 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 qmake
21 make &&
22 make INSTALL_ROOT=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/qt $fs/usr/lib
30 cp -a $_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
31 }