wok view libqwt5-qt4/receipt @ rev 12280

qtwitter: improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 13:59:44 2012 +0200 (2012-04-15)
parents ca57e8529d1c
children 086841d75237
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 BUILD_DEPENDS="$DEPENDS qt4 qmake Qt4-dev"
10 SOURCE="qwt"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://qwt.sourceforge.net"
13 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 qmake
20 make -j1 &&
21 make INSTALL_ROOT=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/qt $fs/usr/lib
29 cp -a $_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
30 }