wok view libqwt5-qt4/receipt @ rev 3299

Add: srcpd
author Matthew Sheets <rcx@zoominternet.net>
date Fri Jun 05 13:19:08 2009 +0000 (2009-06-05)
parents
children 187483fb9c67
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"
9 BUILD_DEPENDS="qt-x11-opensource-src"
10 TARBALL="qwt-$VERSION.tar.bz2"
11 WEB_SITE="http://qwt.sourceforge.net"
12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd qwt-$VERSION
18 qmake
19 make &&
20 make INSTALL_ROOT=$PWD/../_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $PWD/_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
28 }
30 # clean commands for Tazwok.
31 clean_wok()
32 {
33 rm -rf $WOK/$PACKAGE/_pkg
34 rm -rf $WOK/$PACKAGE/qwt-$VERSION
35 }